Open CASCADE Technology 6.6.0
|
#include <VrmlData_WorldInfo.hxx>
Public Member Functions | |
VrmlData_WorldInfo () | |
VrmlData_WorldInfo (const VrmlData_Scene &theScene, const char *theName=0L, const char *theTitle=0L) | |
void | SetTitle (const char *theString) |
void | AddInfo (const char *theString) |
const char * | Title () const |
NCollection_List< const char * > ::Iterator | InfoIterator () const |
virtual Handle< VrmlData_Node > | Clone (const Handle< VrmlData_Node > &theOther) const |
virtual VrmlData_ErrorStatus | Read (VrmlData_InBuffer &theBuffer) |
virtual VrmlData_ErrorStatus | Write (const char *thePrefix) const |
virtual Standard_Boolean | IsDefault () const |
Data type for WorldInfo node
VrmlData_WorldInfo::VrmlData_WorldInfo | ( | ) | [inline] |
Empty Constructor.
VrmlData_WorldInfo::VrmlData_WorldInfo | ( | const VrmlData_Scene & | theScene, |
const char * | theName = 0L , |
||
const char * | theTitle = 0L |
||
) |
Constructor.
void VrmlData_WorldInfo::AddInfo | ( | const char * | theString | ) |
Add a string to the list of info strings.
virtual Handle< VrmlData_Node > VrmlData_WorldInfo::Clone | ( | const Handle< VrmlData_Node > & | theOther | ) | const [virtual] |
Create a copy of this node. If the parameter is null, a new copied node is created. Otherwise new node is not created, but rather the given one is modified.
Reimplemented from VrmlData_Node.
NCollection_List<const char *>::Iterator VrmlData_WorldInfo::InfoIterator | ( | ) | const [inline] |
Return the iterator of Info strings.
virtual Standard_Boolean VrmlData_WorldInfo::IsDefault | ( | ) | const [virtual] |
Returns True if the node is default, then it would not be written.
Reimplemented from VrmlData_Node.
virtual VrmlData_ErrorStatus VrmlData_WorldInfo::Read | ( | VrmlData_InBuffer & | theBuffer | ) | [virtual] |
Read the Node from input stream.
Implements VrmlData_Node.
void VrmlData_WorldInfo::SetTitle | ( | const char * | theString | ) |
Set or modify the title.
const char* VrmlData_WorldInfo::Title | ( | ) | const [inline] |
Query the title string.
virtual VrmlData_ErrorStatus VrmlData_WorldInfo::Write | ( | const char * | thePrefix | ) | const [virtual] |
Write the Node to the Scene output.
Reimplemented from VrmlData_Node.