Remote Call Framework 3.3
Node.hpp
1
2
//******************************************************************************
3
// RCF - Remote Call Framework
4
//
5
// Copyright (c) 2005 - 2022, Delta V Software. All rights reserved.
6
// https://www.deltavsoft.com
7
//
8
// RCF is distributed under dual licenses - closed source or GPL.
9
// Consult your particular license for conditions of use.
10
//
11
// If you have not purchased a commercial license, you are using RCF under GPL terms.
12
//
13
// Version: 3.3
14
// Contact: support <at> deltavsoft.com
15
//
16
//******************************************************************************
17
18
#ifndef INCLUDE_SF_NODE_HPP
19
#define INCLUDE_SF_NODE_HPP
20
21
#include <SF/DataPtr.hpp>
22
#include <SF/PortableTypes.hpp>
23
24
namespace
SF
{
25
26
//****************************************************************************
27
// Node class represents a node in the serialized hierarchy of objects
28
// (eg XML streams would translate it to an element in a DOM tree)
29
30
class
Node : Noncopyable
31
{
32
public
:
33
Node() :
34
type(),
35
label(),
36
id(),
37
ref()
38
{}
39
40
Node(
41
const
DataPtr & type,
42
const
DataPtr & label,
43
const
UInt32
id
,
44
const
UInt32 nullPtr) :
45
type(type),
46
label(label),
47
id(id),
48
ref(nullPtr)
49
{}
50
51
DataPtr type;
52
DataPtr label;
53
UInt32 id;
54
UInt32 ref;
55
};
56
57
}
// namespace SF
58
59
#endif // ! INCLUDE_SF_NODE_HPP
SF
Definition:
ByteBuffer.hpp:188
Copyright (C)
Delta V Software
2022