Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SH::ShTypeInfo Struct Reference

A holder of information about a data type and how to allocate it. More...

#include <ShTypeInfo.hpp>

List of all members.

Public Types

typedef ShPairHashMap< ShValueType,
ShDataType, const ShTypeInfo * > 
TypeInfoMap

Public Member Functions

virtual const char * name () const =0
 Returns a the name of the value type.
virtual int datasize () const =0
 Returns size of type.
virtual const ShVariantFactory * variantFactory () const =0
 Returns the factory that generates ShVariant objects of this type.

Static Public Member Functions

static void init ()
 Initializes the variant factories, automatic promotions, and other variant casters.
static const ShTypeInfoget (ShValueType valueType, ShDataType dataType)
 Returns the type info with the requested value and data types.


Detailed Description

A holder of information about a data type and how to allocate it.

See also:
ShDataType.hpp

Definition at line 49 of file ShTypeInfo.hpp.


The documentation for this struct was generated from the following files:
Generated on Mon Jan 24 18:38:25 2005 for Sh by  doxygen 1.4.1