My Project
UDK 3.2.7 C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
RegistryValueList< ValueType > Class Template Reference

RegistryValueList represents a value list of the specified type. More...

#include <registry.hxx>

Public Member Functions

 RegistryValueList ()
 Default constructor.
 ~RegistryValueList ()
 Destructor, the internal value list will be freed.
ValueType getElement (sal_uInt32 index)
 returns the value of the list specified by index.
sal_uInt32 getLength ()
 returns the length of the list.

Protected Member Functions

void setValueList (Registry &registry, RegValueType valueType, ValueType *pValueList, sal_uInt32 length)
 sets the data of the value list.

Protected Attributes

sal_uInt32 m_length
 stores the length of the list, the number of elements.
ValueType * m_pValueList
 stores the value list.
RegValueType m_valueType
 stores the type of the list elements
Registry m_registry
 stores the handle to the registry file where the appropriate key to this value is located.

Friends

class RegistryKey

Detailed Description

template<class ValueType>
class RegistryValueList< ValueType >

RegistryValueList represents a value list of the specified type.

RegistryValueList is a helper class to work with a list value.

Constructor & Destructor Documentation

template<class ValueType>
RegistryValueList< ValueType >::RegistryValueList ( )
inline

Default constructor.

template<class ValueType>
RegistryValueList< ValueType >::~RegistryValueList ( )
inline

Destructor, the internal value list will be freed.

Member Function Documentation

template<class ValueType>
ValueType RegistryValueList< ValueType >::getElement ( sal_uInt32  index)
inline

returns the value of the list specified by index.

template<class ValueType>
sal_uInt32 RegistryValueList< ValueType >::getLength ( )
inline

returns the length of the list.

template<class ValueType>
void RegistryValueList< ValueType >::setValueList ( Registry registry,
RegValueType  valueType,
ValueType *  pValueList,
sal_uInt32  length 
)
inlineprotected

sets the data of the value list.

Parameters
registryspecifies the registry files where the appropriate key is located.
valueTypespecifies the type of the list values.
pValueListpoints to a value list.
lengthspecifies the length of the list.

Friends And Related Function Documentation

template<class ValueType>
friend class RegistryKey
friend

Member Data Documentation

template<class ValueType>
sal_uInt32 RegistryValueList< ValueType >::m_length
protected

stores the length of the list, the number of elements.

template<class ValueType>
ValueType* RegistryValueList< ValueType >::m_pValueList
protected

stores the value list.

template<class ValueType>
Registry RegistryValueList< ValueType >::m_registry
protected

stores the handle to the registry file where the appropriate key to this value is located.

template<class ValueType>
RegValueType RegistryValueList< ValueType >::m_valueType
protected

stores the type of the list elements


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