Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

direct/src/dcparser/dcSubatomicType.h

Go to the documentation of this file.
00001 // Filename: dcSubatomicType.h
00002 // Created by:  drose (05Oct00)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 #ifndef DCSUBATOMICTYPE_H
00020 #define DCSUBATOMICTYPE_H
00021 
00022 #include "dcbase.h"
00023 
00024 BEGIN_PUBLISH
00025 ////////////////////////////////////////////////////////////////////
00026 //        Enum : DCSubatomicType
00027 // Description : This defines the numeric type of each element of a
00028 //               DCAtomicField; that is, the particular values that
00029 //               will get added to the message when the atomic field
00030 //               method is called.
00031 ////////////////////////////////////////////////////////////////////
00032 enum DCSubatomicType {
00033   ST_int8,
00034   ST_int16,
00035   ST_int32,
00036   ST_int64,
00037 
00038   ST_uint8,
00039   ST_uint16,
00040   ST_uint32,
00041   ST_uint64,
00042 
00043   ST_float64,
00044 
00045   ST_string,      // a human-printable string
00046   ST_blob,        // any variable length message, stored as a string
00047   ST_int16array,
00048   ST_int32array,
00049   ST_uint16array,
00050   ST_uint32array,
00051 
00052   ST_int8array,
00053   ST_uint8array,
00054 
00055   // A special-purpose array: a list of alternating uint32 and uint8
00056   // values.  In Python, this becomes a list of 2-tuples.
00057   ST_uint32uint8array,
00058 
00059   // New additions should be added at the end to prevent the file hash
00060   // code from changing.
00061 
00062   ST_invalid
00063 };
00064 END_PUBLISH
00065 
00066 ostream &operator << (ostream &out, DCSubatomicType type);
00067 
00068 #endif
00069 
00070 

Generated on Fri May 2 01:37:08 2003 for Direct by doxygen1.3