Pleora Technologies Inc. eBUS SDK v6.2.8.5877 API



PvPropertyList.h
1 // *****************************************************************************
2 //
3 // Copyright (c) 2011, Pleora Technologies Inc., All rights reserved.
4 //
5 // *****************************************************************************
6 
7 #ifndef __PVPROPERTYLIST_H__
8 #define __PVPROPERTYLIST_H__
9 
10 #include <PvPersistenceLib.h>
11 #include <PvProperty.h>
12 
13 
14 namespace PvPersistenceLib
15 {
16  class PropertyListPrivate;
17 }
18 
19 
20 class PV_PERSISTENCE_API PvPropertyList
21 {
22 public:
23 
25  ~PvPropertyList();
26 
27  void Clear();
28  void Add( const PvProperty &aString );
29 
30  uint32_t GetSize() const;
31  PvProperty *GetItem( uint32_t aIndex );
32  PvProperty *operator[]( uint32_t aIndex );
33 
34  PvProperty *GetFirst();
35  PvProperty *GetNext();
36 
37  PvProperty *GetProperty( const PvString &aName );
38 
39 protected:
40 
41 private:
42 
43 #ifndef PV_GENERATING_DOXYGEN_DOC
44 
45  PvPersistenceLib::PropertyListPrivate *mThis;
46 
47 #endif // PV_GENERATING_DOXYGEN_DOC
48 
49  // Not implemented
50  PvPropertyList( const PvPropertyList & );
51  const PvPropertyList &operator=( const PvPropertyList & );
52 };
53 
54 #endif
Simple name/value string pair class.
Definition: PvProperty.h:13
String class.
Definition: PvString.h:21
Class used to hold a group of PvProperty objects.
Definition: PvPropertyList.h:20
Definition: PvConfigurationReader.h:17

Copyright (c) 2002-2021 Pleora Technologies Inc.
www.pleora.com