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 ®istry, 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 |
RegistryValueList represents a value list of the specified type.
RegistryValueList is a helper class to work with a list value.
| RegistryValueList< ValueType >::RegistryValueList | ( | ) | [inline] |
Default constructor.
| RegistryValueList< ValueType >::~RegistryValueList | ( | ) | [inline] |
Destructor, the internal value list will be freed.
| ValueType RegistryValueList< ValueType >::getElement | ( | sal_uInt32 | index | ) | [inline] |
returns the value of the list specified by index.
| sal_uInt32 RegistryValueList< ValueType >::getLength | ( | ) | [inline] |
returns the length of the list.
| void RegistryValueList< ValueType >::setValueList | ( | Registry & | registry, | |
| RegValueType | valueType, | |||
| ValueType * | pValueList, | |||
| sal_uInt32 | length | |||
| ) | [inline, protected] |
sets the data of the value list.
| registry | specifies the registry files where the appropriate key is located. | |
| valueType | specifies the type of the list values. | |
| pValueList | points to a value list. | |
| length | specifies the length of the list. |
friend class RegistryKey [friend] |
sal_uInt32 RegistryValueList< ValueType >::m_length [protected] |
stores the length of the list, the number of elements.
ValueType* RegistryValueList< ValueType >::m_pValueList [protected] |
stores the value list.
Registry RegistryValueList< ValueType >::m_registry [protected] |
stores the handle to the registry file where the appropriate key to this value is located.
RegValueType RegistryValueList< ValueType >::m_valueType [protected] |
stores the type of the list elements
1.6.1