PST File Format SDK v0.4
Loading...
Searching...
No Matches
object.h File Reference

Property access base class. More...

#include "pstsdk/util/util.h"
#include <functional>
#include <type_traits>
#include <algorithm>
#include <optional>
#include <boost/iostreams/concepts.hpp>
#include <boost/iostreams/stream.hpp>
#include "pstsdk/util/primitives.h"
#include "pstsdk/util/errors.h"
#include "pstsdk/ltp/heap.h"
#include "pstsdk/ndb/node.h"
+ Include dependency graph for object.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pstsdk::hnid_stream_device
 Defines a stream device which can wrap one of the two prop sources. More...
 
class  pstsdk::const_property_object
 Property object base class. More...
 

Namespaces

namespace  pstsdk
 Contains the definition of all in memory representations of disk structures.
 

Typedefs

typedef boost::iostreams::stream< hnid_stream_devicepstsdk::prop_stream
 The actual property stream, defined using the boost iostream library and the hnid_stream_device.
 

Functions

template<>
std::vector< bytepstsdk::const_property_object::read_prop< std::vector< byte > > (prop_id id) const
 
template<>
std::vector< std::vector< byte > > pstsdk::const_property_object::read_prop_array< std::vector< byte > > (prop_id id) const
 
template<>
std::wstring pstsdk::const_property_object::read_prop< std::wstring > (prop_id id) const
 
template<>
std::vector< std::wstring > pstsdk::const_property_object::read_prop_array< std::wstring > (prop_id id) const
 
template<>
std::string pstsdk::const_property_object::read_prop< std::string > (prop_id id) const
 
template<>
std::vector< std::string > pstsdk::const_property_object::read_prop_array< std::string > (prop_id id) const
 

Detailed Description

Property access base class.

Author
Terry Mahaffey

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.