coolray.org FAQ Contact Us
CoolRay Banner
CoolRay / Documentation
Main Page   Class Hierarchy   Compound List   Compound Members   Related Pages  

ObjectFileMetaInfo Class Reference

The class ObjectFileMetaInfo represents the meta information given in the scenes 'meta' section. More...

#include <ObjectFileImp.h>

Inheritance diagram for ObjectFileMetaInfo

Inheritance graph
[legend]
Collaboration diagram for ObjectFileMetaInfo:

Collaboration graph
[legend]
List of all members.

Public Types

typedef DataChunk inherited

Public Methods

 ObjectFileMetaInfo ()
virtual unsigned long getStreamSize ()
virtual unsigned long getStreamChunk ()
virtual void write (OutputStreamWriterNDR &os)
virtual void read (InputStreamWriterNDR &is)
const string& getAuthor ()const
void setAuthor (const string &s)
const string& getDate ()const
void setDate (const string &s)
long getLanguageVersion ()const
void setLanguageVersion (long version)
long getModuleVersion ()const
void setModuleVersion (long version)

Protected Attributes

long nLanguageVersion
long nModuleVersion
string sDate
string sAuthor

Detailed Description

The class ObjectFileMetaInfo represents the meta information given in the scenes 'meta' section.

This information is optional for scene files and mandatory for library files.

ObjectFile -- METAINFO (1 per file, for scenes optional) \begin{verbatim} Offset Size Type Comment --------------------------------------------------------- 0 4 Byte fourcc chunkname 'META' 4 4 Byte int32 size of the chunk 8 4 Byte int32 language version (version of the scene description language) 12 4 Byte int32 module version (version of the module/library) 16 x Byte string date (date string) 16+x y Byte string author name --------------------------------------------------------- (string is always /0 terminated) \end{verbatim}


The documentation for this class was generated from the following file:
  • ObjectFileImp.h
You are visitor No.

counter

Copyright (c) 2001 Stefan Michel, All Rights Reserved.
Last modified: