OpFlex Framework 1.7.0
ObjectInstance.h File Reference

Interface definition file for ObjectInstance. More...

#include <string>
#include <utility>
#include <boost/tuple/tuple_comparison.hpp>
#include <boost/cstdint.hpp>
#include <boost/variant.hpp>
#include "opflex/modb/PropertyInfo.h"
#include "opflex/modb/URI.h"
#include "opflex/modb/MAC.h"
#include "opflex/ofcore/OFTypes.h"

Go to the source code of this file.

Classes

class  opflex::modb::mointernal::ObjectInstance
 An internal instance of an object in the managed object store. More...
 

Typedefs

typedef boost::tuple< PropertyInfo::property_type_t, PropertyInfo::cardinality_t, prop_id_topflex::modb::prop_key_t
 A tuple containing the key for a property value.
 
typedef std::pair< class_id_t, URIopflex::modb::reference_t
 A URI reference containing a class ID and a URI pair.
 

Functions

size_t opflex::modb::hash_value (prop_key_t const &key)
 Compute a hash value for the prop key, making prop_key_t suitable as a key in an unordered_map.
 
size_t opflex::modb::hash_value (reference_t const &key)
 Compute a hash value for the reference_t, making it suitable as a key in a boost::unordered_map.
 
bool opflex::modb::mointernal::operator== (const ObjectInstance &lhs, const ObjectInstance &rhs)
 Check for ObjectInstance equality.
 
bool opflex::modb::mointernal::operator!= (const ObjectInstance &lhs, const ObjectInstance &rhs)
 Check for ObjectInstance inequality.
 

Detailed Description

Interface definition file for ObjectInstance.