File indexing completed on 2025-01-18 10:05:32
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef VrmlData_WorldInfo_HeaderFile
0017 #define VrmlData_WorldInfo_HeaderFile
0018
0019 #include <VrmlData_Node.hxx>
0020
0021
0022
0023
0024
0025 class VrmlData_WorldInfo : public VrmlData_Node
0026 {
0027 public:
0028
0029
0030
0031
0032
0033 inline VrmlData_WorldInfo () : myTitle (0L) {}
0034
0035
0036
0037
0038 Standard_EXPORT VrmlData_WorldInfo (const VrmlData_Scene& theScene,
0039 const char * theName = 0L,
0040 const char * theTitle = 0L);
0041
0042
0043
0044
0045 Standard_EXPORT void SetTitle (const char * theString);
0046
0047
0048
0049
0050 Standard_EXPORT void AddInfo (const char * theString);
0051
0052
0053
0054
0055 inline const char * Title () const
0056 { return myTitle; }
0057
0058
0059
0060
0061 inline NCollection_List <const char *>::Iterator
0062 InfoIterator () const
0063 { return myInfo; }
0064
0065
0066
0067
0068
0069
0070 Standard_EXPORT virtual Handle(VrmlData_Node)
0071 Clone (const Handle(VrmlData_Node)& theOther) const Standard_OVERRIDE;
0072
0073
0074
0075
0076 Standard_EXPORT virtual VrmlData_ErrorStatus
0077 Read (VrmlData_InBuffer& theBuffer) Standard_OVERRIDE;
0078
0079
0080
0081
0082 Standard_EXPORT virtual VrmlData_ErrorStatus
0083 Write (const char * thePrefix) const Standard_OVERRIDE;
0084
0085
0086
0087
0088 Standard_EXPORT virtual Standard_Boolean
0089 IsDefault() const Standard_OVERRIDE;
0090
0091 private:
0092
0093
0094 const char * myTitle;
0095 NCollection_List <const char *> myInfo;
0096
0097 public:
0098
0099 DEFINE_STANDARD_RTTIEXT(VrmlData_WorldInfo,VrmlData_Node)
0100 };
0101
0102
0103 DEFINE_STANDARD_HANDLE (VrmlData_WorldInfo, VrmlData_Node)
0104
0105
0106 #endif