Fairport
v1.0.38
|
Property access base class. More...
#include <functional>
#include <type_traits>
#include <algorithm>
#include <boost/iostreams/concepts.hpp>
#include <boost/date_time/gregorian/gregorian.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/iostreams/stream.hpp>
#include "fairport/util/primitives.h"
#include "fairport/util/errors.h"
#include "fairport/ltp/heap.h"
#include "fairport/ndb/node.h"
Go to the source code of this file.
Classes | |
class | fairport::hnid_stream_device |
Defines a stream device which can wrap one of the two prop sources. More... | |
class | fairport::const_property_object |
Property object base class. More... | |
Namespaces | |
namespace | fairport |
Contains the definition of all in memory representations of disk structures. | |
Defines | |
#define | BOOST_ALL_NO_LIB 1 |
Typedefs | |
typedef boost::iostreams::stream < hnid_stream_device > | fairport::prop_stream |
The actual property stream, defined using the boost iostream library and the hnid_stream_device. | |
Functions | |
template<> | |
boost::posix_time::ptime | fairport::const_property_object::read_prop< boost::posix_time::ptime > (prop_id id) const |
template<> | |
std::vector < boost::posix_time::ptime > | fairport::const_property_object::read_prop_array< boost::posix_time::ptime > (prop_id id) const |
template<> | |
std::vector< byte > | fairport::const_property_object::read_prop< std::vector< byte > > (prop_id id) const |
template<> | |
std::vector< std::vector< byte > > | fairport::const_property_object::read_prop_array< std::vector< byte > > (prop_id id) const |
template<> | |
std::wstring | fairport::const_property_object::read_prop< std::wstring > (prop_id id) const |
template<> | |
std::vector< std::wstring > | fairport::const_property_object::read_prop_array< std::wstring > (prop_id id) const |
template<> | |
std::string | fairport::const_property_object::read_prop< std::string > (prop_id id) const |
template<> | |
std::vector< std::string > | fairport::const_property_object::read_prop_array< std::string > (prop_id id) const |
Property access base class.
This file contains the base class used to access "properties" on "objects". It defines several virtual methods to access raw properties, and child classes (specific object types) implement them.
In addition to defining a generic read_prop<T>(id) interface, it also defines a stream interface to access large properties.
Definition in file object.h.