LightWrap++
AC++wrapperfortheLightWave3DSDK
lwpp::ExtendedPopUp< T > Class Template Reference

#include <wrapper.h>

+ Inheritance diagram for lwpp::ExtendedPopUp< T >:
+ Collaboration diagram for lwpp::ExtendedPopUp< T >:

List of all members.

Classes

class  popupEntry

Public Member Functions

 ExtendedPopUp ()
virtual ~ExtendedPopUp ()
virtual void AddEntry (const char *entry, T id)
virtual T GetEntry (int n)
virtual size_t GetIndex (T val)
 Return the index number of a certain entry.
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.

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

Constructor & Destructor Documentation

template<class T >
lwpp::ExtendedPopUp< T >::ExtendedPopUp ( )
inline
template<class T >
virtual lwpp::ExtendedPopUp< T >::~ExtendedPopUp ( )
inlinevirtual

Member Function Documentation

template<class T >
virtual void lwpp::ExtendedPopUp< T >::AddEntry ( const char *  entry,
id 
)
inlinevirtual
template<class T >
virtual T lwpp::ExtendedPopUp< T >::GetEntry ( int  n)
inlinevirtual
template<class T >
virtual size_t lwpp::ExtendedPopUp< T >::GetIndex ( val)
inlinevirtual

Return the index number of a certain entry.

const char* lwpp::PopUpCallback::GetSelectedName ( )
inlineinherited
static int lwpp::PopUpCallback::PopCount ( void *  inst)
inlinestaticinherited

PopCount callback for LightWave.

template<class T >
virtual size_t lwpp::ExtendedPopUp< T >::popCount ( void  )
inlineprotectedvirtual

Actual worker function to be supplied by the deriving class.

Returns:
The number of items

Implements lwpp::PopUpCallback.

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

PopUpName name callback for LightWave.

template<class T >
virtual const char* lwpp::ExtendedPopUp< T >::popName ( int  n)
inlineprotectedvirtual

Actual worker function to be supplied by the deriving class.

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

Implements lwpp::PopUpCallback.


Member Data Documentation

int lwpp::PopUpCallback::index
protectedinherited

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