eBUS SDK v6.2.8.5877 API
PvProperty.h
1
// *****************************************************************************
2
//
3
// Copyright (c) 2011, Pleora Technologies Inc., All rights reserved.
4
//
5
// *****************************************************************************
6
7
#ifndef __PVPROPERTY_H__
8
#define __PVPROPERTY_H__
9
10
#include <PvPersistenceLib.h>
11
12
13
class
PV_PERSISTENCE_API
PvProperty
14
{
15
public
:
16
17
PvProperty
();
18
PvProperty
(
const
PvString
&aName,
const
PvString
&aValue );
19
~
PvProperty
();
20
21
PvProperty
(
const
PvProperty
&aProperty );
22
const
PvProperty
&operator=(
const
PvProperty
&aProperty );
23
24
void
SetName(
const
PvString
&aName );
25
PvString
GetName()
const
;
26
27
void
SetValue(
const
PvString
&aValue );
28
void
SetValue( int64_t aValue );
29
void
SetValue(
double
aValue );
30
31
PvString
GetValue()
const
;
32
PvResult
GetValue( int64_t &aValue )
const
;
33
PvResult
GetValue(
double
&aValue )
const
;
34
35
private
:
36
37
PvString
mName;
38
PvString
mValue;
39
40
};
41
42
#endif
PvResult
Result information.
Definition:
PvResult.h:13
PvString
String class.
Definition:
PvString.h:21
PvProperty
Simple name/value string pair class.
Definition:
PvProperty.h:13
Copyright (c) 2002-2021 Pleora Technologies Inc.
www.pleora.com