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

pdf::core::CNumber Class Reference

the PDF number class More...

#include <Object.hh>

Inheritance diagram for pdf::core::CNumber:

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

Collaboration graph
List of all members.

Public Methods

Private Attributes

Detailed Description

the PDF number class

simple class to wrap a double into the PDF real number

Constructor & Destructor Documentation

pdf::core::CNumber::CNumber double    number = 0.0 [inline, explicit]

constructor to initialize the number

00153 : m_number( number ) { }

Member Function Documentation

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

print out the numeric value

Implements pdf::core::CObject.

00113 {
00114     return os << m_number ;
00115 }

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

dynamic clone

Implements pdf::core::CObject.

00120 {
00121     return new CNumber( m_number ) ;
00122 }

Member Data Documentation

double pdf::core::CNumber::m_number [private]

the underlying number

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