ValueNode.h
Go to the documentation of this file.
1 //-----------------------------------------------------------------------------
2 // (c) 2006 by Basler Vision Technologies
3 // Section: Vision Components
4 // Project: GenApi
5 // Author: Fritz Dierks
6 // $Header$
7 //
8 // License: This file is published under the license of the EMVA GenICam Standard Group.
9 // A text file describing the legal terms is included in your installation as 'GenICam_license.pdf'.
10 // If for some reason you are missing this file please contact the EMVA or visit the website
11 // (http://www.genicam.org) for a full copy.
12 //
13 // THIS SOFTWARE IS PROVIDED BY THE EMVA GENICAM STANDARD GROUP "AS IS"
14 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
15 // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE EMVA GENICAM STANDARD GROUP
17 // OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
20 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
21 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
22 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
23 // POSSIBILITY OF SUCH DAMAGE.
24 //-----------------------------------------------------------------------------
31 #ifndef GENAPI_VALUENODE_H
32 #define GENAPI_VALUENODE_H
33 
34 #include "../IValue.h"
35 #include "Node.h"
36 #include "ValueT.h"
37 #include "BaseT.h"
38 #include "NodeT.h"
39 #include "NodeMap.h"
40 
41 namespace GENAPI_NAMESPACE
42 {
43 
44  class CValueNodeImpl : public CNodeImpl, virtual public IValue
45  {
46  protected:
47 
48  //-------------------------------------------------------------
49  // IValue implementation
50  //-------------------------------------------------------------
51 
53  virtual GENICAM_NAMESPACE::gcstring InternalToString(bool Verify = false, bool IgnoreCache = false);
54 
56  virtual void InternalFromString(const GENICAM_NAMESPACE::gcstring& ValueStr, bool Verify = true);
57 
58 
61  {
62  return intfIValue;
63  }
64 
65 
66  protected:
69  };
70 
71  //*************************************************************
72  // CValueNode class
73  //*************************************************************
74 
76 
78  class CTestValueNode : public BaseT < ValueT< NodeT < CValueNodeImpl > > >
79  {
80  };
81 
82 }
83 
84 #endif // ifndef GENAPI_VALUENODE_H
Definition of the ValueT class template.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT bool Verify
Definition: IBoolean.h:61
Implementation of the IBase interface.
Definition: BaseT.h:48
Definition of the NodeT class template.
IValue interface.
Definition: Types.h:191
Generic Node with dummy IValue implementation.
Definition: ValueNode.h:78
Definition of the BaseT class template.
Standard implementation for the INode and the ISelector interface.
Definition: Node.h:86
A string class which is a clone of std::string.
Definition: GCString.h:52
virtual void InternalFromString(const GENICAM_NAMESPACE::gcstring &ValueStr, bool Verify=true)
Set content of the node as string.
Declaration of CNodeMap.
GENICAM_NAMESPACE::gcstring m_Value
Dummy value.
Definition: ValueNode.h:68
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IValue
Interface for value properties.
Definition: IValue.h:61
virtual EInterfaceType InternalGetPrincipalInterfaceType() const
Implementation of IBase::GetPrincipalInterfaceType()
Definition: ValueNode.h:60
virtual GENICAM_NAMESPACE::gcstring InternalToString(bool Verify=false, bool IgnoreCache=false)
Get content of the node as string.
Lexical analyzer for CIntSwissKnife.
Definition: Autovector.h:48
enum GENAPI_NAMESPACE::_EInterfaceType EInterfaceType
typedef for interface type


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Mar 17 2021 02:48:41