//****************************************************************************** // RCF - Remote Call Framework // // Copyright (c) 2005 - 2020, Delta V Software. All rights reserved. // http://www.deltavsoft.com // // RCF is distributed under dual licenses - closed source or GPL. // Consult your particular license for conditions of use. // // If you have not purchased a commercial license, you are using RCF // under GPL terms. // // Version: 3.2 // Contact: support deltavsoft.com // //****************************************************************************** #ifndef INCLUDE_SF_NODE_HPP #define INCLUDE_SF_NODE_HPP #include #include namespace SF { //**************************************************************************** // Node class represents a node in the serialized hierarchy of objects // (eg XML streams would translate it to an element in a DOM tree) class Node : Noncopyable { public: Node() : type(), label(), id(), ref() {} Node( const DataPtr & type, const DataPtr & label, const UInt32 id, const UInt32 nullPtr) : type(type), label(label), id(id), ref(nullPtr) {} DataPtr type; DataPtr label; UInt32 id; UInt32 ref; }; } // namespace SF #endif // ! INCLUDE_SF_NODE_HPP