Pleora Technologies Inc. eBUS SDK v5.1.10.4642 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 PropertyList;
17 
18 } // namespace PvPersistenceLib
19 
20 
21 class PV_PERSISTENCE_API PvPropertyList
22 {
23 public:
24 
26  ~PvPropertyList();
27 
28  void Clear();
29  void Add( const PvProperty &aString );
30 
31  uint32_t GetSize() const;
32  PvProperty *GetItem( uint32_t aIndex );
33  PvProperty *operator[]( uint32_t aIndex );
34 
35  PvProperty *GetFirst();
36  PvProperty *GetNext();
37 
38  PvProperty *GetProperty( const PvString &aName );
39 
40 protected:
41 
42 private:
43 
44 #ifndef PV_GENERATING_DOXYGEN_DOC
45 
46  PvPersistenceLib::PropertyList *mThis;
47 
48 #endif // PV_GENERATING_DOXYGEN_DOC
49 
50  // Not implemented
51  PvPropertyList( const PvPropertyList & );
52  const PvPropertyList &operator=( const PvPropertyList & );
53 };
54 
55 #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:21
Definition: PvConfigurationReader.h:17

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