Bullet Collision Detection & Physics Library
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
bParse::bDNA Class Reference

#include <bDNA.h>

Collaboration diagram for bParse::bDNA:
Collaboration graph

Public Member Functions

 bDNA ()
 ~bDNA ()
void init (char *data, int len, bool swap=false)
int getArraySize (char *str)
int getArraySizeNew (short name)
int getElementSize (short type, short name)
int getNumNames () const
char * getName (int ind)
char * getType (int ind)
short * getStruct (int ind)
short getLength (int ind)
int getReverseType (short type)
int getReverseType (const char *type)
int getNumStructs ()
bool lessThan (bDNA *other)
void initCmpFlags (bDNA *memDNA)
bool flagNotEqual (int dna_nr)
bool flagEqual (int dna_nr)
bool flagNone (int dna_nr)
int getPointerSize ()
void dumpTypeDefinitions ()

Private Types

enum  FileDNAFlags {
  FDF_NONE =0,

Private Member Functions

void initRecurseCmpFlags (int i)

Private Attributes

btAlignedObjectArray< int > mCMPFlags
btAlignedObjectArray< bNameInfom_Names
btAlignedObjectArray< char * > mTypes
btAlignedObjectArray< short * > mStructs
btAlignedObjectArray< short > mTlens
btHashMap< btHashInt, int > mStructReverse
btHashMap< btHashString, int > mTypeLookup
int mPtrLen

Detailed Description

Definition at line 32 of file bDNA.h.

Member Enumeration Documentation


Definition at line 83 of file bDNA.h.

Constructor & Destructor Documentation

bDNA::bDNA ( )

Definition at line 31 of file bDNA.cpp.

bDNA::~bDNA ( )

Definition at line 38 of file bDNA.cpp.

Member Function Documentation

void bDNA::dumpTypeDefinitions ( )

Definition at line 546 of file bDNA.cpp.

bool bDNA::flagEqual ( int  dna_nr)

Definition at line 118 of file bDNA.cpp.

bool bDNA::flagNone ( int  dna_nr)

Definition at line 126 of file bDNA.cpp.

bool bDNA::flagNotEqual ( int  dna_nr)

Definition at line 111 of file bDNA.cpp.

int bDNA::getArraySize ( char *  str)

Definition at line 523 of file bDNA.cpp.

int bParse::bDNA::getArraySizeNew ( short  name)

Definition at line 41 of file bDNA.h.

int bParse::bDNA::getElementSize ( short  type,
short  name 

Definition at line 46 of file bDNA.h.

short bDNA::getLength ( int  ind)

Definition at line 74 of file bDNA.cpp.

char * bDNA::getName ( int  ind)

Definition at line 50 of file bDNA.cpp.

int bParse::bDNA::getNumNames ( ) const

Definition at line 53 of file bDNA.h.

int bDNA::getNumStructs ( )

Definition at line 105 of file bDNA.cpp.

int bDNA::getPointerSize ( )

Definition at line 133 of file bDNA.cpp.

int bDNA::getReverseType ( short  type)

Definition at line 82 of file bDNA.cpp.

int bDNA::getReverseType ( const char *  type)

Definition at line 93 of file bDNA.cpp.

short * bDNA::getStruct ( int  ind)

Definition at line 66 of file bDNA.cpp.

char * bDNA::getType ( int  ind)

Definition at line 58 of file bDNA.cpp.

void bDNA::init ( char *  data,
int  len,
bool  swap = false 

Definition at line 348 of file bDNA.cpp.

void bDNA::initCmpFlags ( bDNA memDNA)

Definition at line 172 of file bDNA.cpp.

void bDNA::initRecurseCmpFlags ( int  i)

Definition at line 139 of file bDNA.cpp.

bool bDNA::lessThan ( bDNA other)

Definition at line 44 of file bDNA.cpp.

Member Data Documentation

btAlignedObjectArray<bNameInfo> bParse::bDNA::m_Names

Definition at line 94 of file bDNA.h.

btAlignedObjectArray<int> bParse::bDNA::mCMPFlags

Definition at line 92 of file bDNA.h.

int bParse::bDNA::mPtrLen

Definition at line 101 of file bDNA.h.

btHashMap<btHashInt, int> bParse::bDNA::mStructReverse

Definition at line 98 of file bDNA.h.

btAlignedObjectArray<short*> bParse::bDNA::mStructs

Definition at line 96 of file bDNA.h.

btAlignedObjectArray<short> bParse::bDNA::mTlens

Definition at line 97 of file bDNA.h.

btHashMap<btHashString,int> bParse::bDNA::mTypeLookup

Definition at line 99 of file bDNA.h.

btAlignedObjectArray<char*> bParse::bDNA::mTypes

Definition at line 95 of file bDNA.h.

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