Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
VrmlData_WorldInfo Class Reference

#include <VrmlData_WorldInfo.hxx>

Inheritance diagram for VrmlData_WorldInfo:
Inheritance graph
[legend]

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_NodeClone (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

Detailed Description

Data type for WorldInfo node


Constructor & Destructor Documentation

Empty Constructor.

VrmlData_WorldInfo::VrmlData_WorldInfo ( const VrmlData_Scene theScene,
const char *  theName = 0L,
const char *  theTitle = 0L 
)

Constructor.


Member Function Documentation

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.

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.


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