Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Public Member Functions | Private Attributes | Related Functions

SgWriteBoolAsInt Class Reference

Writes boolean as 0/1. More...

#include <SgWrite.h>

List of all members.

Public Member Functions

 SgWriteBoolAsInt (bool value)
std::ostream & Write (std::ostream &out) const

Private Attributes

bool m_value

Related Functions

(Note that these are not member functions.)



std::ostream & operator<< (std::ostream &out, const SgWriteBoolAsInt &write)

Detailed Description

Writes boolean as 0/1.

Definition at line 168 of file SgWrite.h.


Constructor & Destructor Documentation

SgWriteBoolAsInt::SgWriteBoolAsInt ( bool  value  ) 

Definition at line 114 of file SgWrite.cpp.


Member Function Documentation

ostream & SgWriteBoolAsInt::Write ( std::ostream &  out  )  const

Definition at line 119 of file SgWrite.cpp.

References m_value.

Referenced by operator<<().


Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream &  out,
const SgWriteBoolAsInt write 
) [related]

Definition at line 124 of file SgWrite.cpp.


Member Data Documentation

bool SgWriteBoolAsInt::m_value [private]

Definition at line 176 of file SgWrite.h.

Referenced by Write().


The documentation for this class was generated from the following files:


Sun Mar 13 2011 Doxygen 1.7.1