LightWrap++
AC++wrapperfortheLightWave3DSDK
lwpp::PresetCollection Class Reference

#include <presets.h>

+ Inheritance diagram for lwpp::PresetCollection:
+ Collaboration diagram for lwpp::PresetCollection:

List of all members.

Public Member Functions

void AddEntry (const char *file, const char *name, std::string type)
const char * GetName (int n)
const char * GetSelectedName ()

Static Public Member Functions

static int PopCount (void *inst)
 PopCount callback for LightWave.
static const char * PopName (void *inst, int n)
 PopUpName name callback for LightWave.

Public Attributes

elements
 STL member.

Static Public Attributes

static bool showDecorated = false

Protected Member Functions

virtual size_t popCount (void)
 Actual worker function to be supplied by the deriving class.
virtual const char * popName (int n)
 Actual worker function to be supplied by the deriving class.

Protected Attributes

int index

Member Function Documentation

void lwpp::PresetCollection::AddEntry ( const char *  file,
const char *  name,
std::string  type 
)
inline
const char* lwpp::PresetCollection::GetName ( int  n)
inline
const char* lwpp::PopUpCallback::GetSelectedName ( )
inlineinherited
size_t lwpp::PresetCollection::popCount ( void  )
protectedvirtual

Actual worker function to be supplied by the deriving class.

Returns:
The number of items

Implements lwpp::PopUpCallback.

static int lwpp::PopUpCallback::PopCount ( void *  inst)
inlinestaticinherited

PopCount callback for LightWave.

const char * lwpp::PresetCollection::popName ( int  n)
protectedvirtual

Actual worker function to be supplied by the deriving class.

Parameters:
nA item index
Returns:
The name of the item

Implements lwpp::PopUpCallback.

static const char* lwpp::PopUpCallback::PopName ( void *  inst,
int  n 
)
inlinestaticinherited

PopUpName name callback for LightWave.


Member Data Documentation

template<typename T>
T std::vector< T >::elements
inherited

STL member.

int lwpp::PopUpCallback::index
protectedinherited
bool lwpp::PresetCollection::showDecorated = false
static

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