- rcf.zip
- RCF
- demo
- vs2003
- RCF
- doc
- include
- RCF
- SF
- license.txt
- src
- RCF
- SF
- test
- vs2003
- RCF
- RCF.sln
- RCF
- RCF.vcproj
- RCFTest
- RCFTest.vcproj
|
//*****************************************************************************
// RCF - Remote Call Framework
// Copyright (c) 2005, Jarl Lindrud.
// Contact: jlindrud@hotmail.com .
//
// Distributed under the so-called MIT license, see accompanying file license.txt.
//*****************************************************************************
#ifndef _SF_NODE_HPP_
#define _SF_NODE_HPP_
#include <boost/noncopyable.hpp>
#include <SF/DataPtr.hpp>
#include <SF/PortableTypes.hpp>
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 : boost::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 // ! _SF_NODE_HPP_
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Software developer, from Sweden and now living in Canberra, Australia, working on distributed C++ applications. When he is not programming, Jarl enjoys skiing and playing table tennis. He derives immense satisfaction from referring to himself in third person.