LibreOffice Module registry (master) 1
|
RegistryValueList represents a value list of the specified type. More...
#include <registry.hxx>
Public Member Functions | |
RegistryValueList () | |
Default constructor. More... | |
~RegistryValueList () | |
Destructor, the internal value list will be freed. More... | |
ValueType | getElement (sal_uInt32 index) |
returns the value of the list specified by index. More... | |
sal_uInt32 | getLength () |
returns the length of the list. More... | |
Private Member Functions | |
void | setValueList (const Registry ®istry, RegValueType valueType, ValueType *pValueList, sal_uInt32 length) |
sets the data of the value list. More... | |
Private Attributes | |
sal_uInt32 | m_length |
stores the length of the list, the number of elements. More... | |
ValueType * | m_pValueList |
stores the value list. More... | |
RegValueType | m_valueType |
stores the type of the list elements More... | |
Registry | m_registry |
stores the handle to the registry file where the appropriate key to this value is located. More... | |
Friends | |
class | RegistryKey |
RegistryValueList represents a value list of the specified type.
RegistryValueList is a helper class to work with a list value.
Definition at line 254 of file registry.hxx.
|
inline |
Default constructor.
Definition at line 258 of file registry.hxx.
|
inline |
Destructor, the internal value list will be freed.
Definition at line 265 of file registry.hxx.
References Registry::getApi(), RegistryValueList< ValueType >::m_length, RegistryValueList< ValueType >::m_pValueList, RegistryValueList< ValueType >::m_registry, and RegistryValueList< ValueType >::m_valueType.
|
inline |
returns the value of the list specified by index.
Definition at line 274 of file registry.hxx.
References index, Registry::isValid(), RegistryValueList< ValueType >::m_length, RegistryValueList< ValueType >::m_pValueList, and RegistryValueList< ValueType >::m_registry.
|
inline |
returns the length of the list.
Definition at line 286 of file registry.hxx.
References RegistryValueList< ValueType >::m_length.
|
inlineprivate |
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. |
Definition at line 301 of file registry.hxx.
References length, RegistryValueList< ValueType >::m_length, RegistryValueList< ValueType >::m_pValueList, RegistryValueList< ValueType >::m_registry, and RegistryValueList< ValueType >::m_valueType.
Referenced by RegistryKey::getLongListValue(), RegistryKey::getStringListValue(), and RegistryKey::getUnicodeListValue().
|
friend |
Definition at line 291 of file registry.hxx.
|
private |
stores the length of the list, the number of elements.
Definition at line 311 of file registry.hxx.
Referenced by RegistryValueList< ValueType >::getElement(), RegistryValueList< ValueType >::getLength(), RegistryValueList< ValueType >::setValueList(), and RegistryValueList< ValueType >::~RegistryValueList().
|
private |
stores the value list.
Definition at line 313 of file registry.hxx.
Referenced by RegistryValueList< ValueType >::getElement(), RegistryValueList< ValueType >::setValueList(), and RegistryValueList< ValueType >::~RegistryValueList().
|
private |
stores the handle to the registry file where the appropriate key to this value is located.
Definition at line 319 of file registry.hxx.
Referenced by RegistryValueList< ValueType >::getElement(), RegistryValueList< ValueType >::setValueList(), and RegistryValueList< ValueType >::~RegistryValueList().
|
private |
stores the type of the list elements
Definition at line 315 of file registry.hxx.
Referenced by RegistryValueList< ValueType >::setValueList(), and RegistryValueList< ValueType >::~RegistryValueList().