#include <Object.hh>
Inheritance diagram for pdf::core::CName:


a class to represent names in PDF document. a PDF name is a string start with a slash character. it is used as a key in PDF dictionaries.
|
|
constructor to initialize the string.
00199 : m_name( name ) { } |
|
|
destructor do nothing
00204 { }
|
|
|
write out the name. the slash character is printed before the name. Implements pdf::core::CObject.
00141 {
00142 return os << '/' << m_name ;
00143 }
|
|
|
dynamic clone Implements pdf::core::CObject.
|
|
|
return true if the name is empty
00217 { return m_name.empty( ) ; }
|
|
|
equality operator. need for std::find( )
00220 { return m_name == n.m_name ; }
|
|
|
inequality operator. added for symmetry
00223 { return !operator==( n ) ; }
|
|
|
the name string. excluding the slash
|
1.2.16