Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

pdf::core::CBoolean Class Reference

the PDF boolean object More...

#include <Object.hh>

Inheritance diagram for pdf::core::CBoolean:

Inheritance graph
Collaboration diagram for pdf::core::CBoolean:

Collaboration graph
List of all members.

Public Methods

Private Attributes

Detailed Description

the PDF boolean object

simple class to contain a boolean and output it according to PDF spec

Constructor & Destructor Documentation

pdf::core::CBoolean::CBoolean bool    b = false [inline, explicit]

construtor to initialize the boolean value

00134 : m_bool( b ) { }

Member Function Documentation

std::ostream & pdf::core::CBoolean::Write std::ostream &    os const [virtual]

print true or false.

Implements pdf::core::CObject.

00099 {
00100     return os << ( m_bool ? "true" : "false" ) ;
00101 }

CObject * pdf::core::CBoolean::Dup   const [virtual]

dynamic clone

Implements pdf::core::CObject.

00106 {
00107     return new CBoolean( m_bool ) ;
00108 }

Member Data Documentation

bool pdf::core::CBoolean::m_bool [private]

the underlying boolean

The documentation for this class was generated from the following files:
Generated on Sun Feb 2 09:17:15 2003 for libpdf++ by doxygen1.2.16