Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgWriteBoolAsInt Class Reference

#include <SgWrite.h>

List of all members.


Detailed Description

Writes boolean as 0/1.

Definition at line 171 of file SgWrite.h.

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)


Constructor & Destructor Documentation

SgWriteBoolAsInt::SgWriteBoolAsInt ( bool  value  ) 

Definition at line 115 of file SgWrite.cpp.


Member Function Documentation

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

Definition at line 120 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 125 of file SgWrite.cpp.


Member Data Documentation

bool SgWriteBoolAsInt::m_value [private]

Definition at line 179 of file SgWrite.h.

Referenced by Write().


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


17 Jun 2010 Doxygen 1.4.7