View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

Public Member Functions | List of all members
vistle::yas_iarchive Class Reference

#include <core/archives.h>

Inheritance diagram for vistle::yas_iarchive:
Inheritance graph
[legend]
Collaboration diagram for vistle::yas_iarchive:
Collaboration graph
[legend]

Public Member Functions

 yas_iarchive (Stream &mi, unsigned int flags=0)
 
 ~yas_iarchive ()
 
std::string translateObjectName (const std::string &name) const
 
std::string translateArrayName (const std::string &name) const
 
void registerObjectNameTranslation (const std::string &arname, const std::string &name) const
 
void registerArrayNameTranslation (const std::string &arname, const std::string &name) const
 
void setFetcher (std::shared_ptr< Fetcher > fetcher)
 
void setCurrentObject (ObjectData *data)
 
ObjectDatacurrentObject () const
 
std::shared_ptr< Fetcherfetcher () const
 
template<typename T >
void fetchArray (const std::string &arname, const ArrayCompletionHandler &completeCallback) const
 
obj_const_ptr getObject (const std::string &name, const ObjectCompletionHandler &completeCallback) const
 
void setObjectCompletionHandler (const std::function< void()> &completer)
 
const std::function< void()> & objectCompletionHandler () const
 
- Public Member Functions inherited from vistle::yas_binary_iarchive< yas_iarchive, vecistreambuf< vistle::buffer > >
 yas_binary_iarchive (vecistreambuf< vistle::buffer > &is)
 
this_typeoperator& (T &&v)
 
this_typeserialize ()
 
this_typeserialize (Head &&head, Tail &&...tail)
 
this_typeoperator() (Args &&...args)
 

Additional Inherited Members

- Public Types inherited from vistle::yas_binary_iarchive< yas_iarchive, vecistreambuf< vistle::buffer > >
using stream_type = vecistreambuf< vistle::buffer >
 
using this_type = yas_iarchive
 

Constructor & Destructor Documentation

◆ yas_iarchive()

vistle::yas_iarchive::yas_iarchive ( yas_iarchive::Stream mi,
unsigned int  flags = 0 
)

◆ ~yas_iarchive()

vistle::yas_iarchive::~yas_iarchive ( )

Member Function Documentation

◆ currentObject()

ObjectData * vistle::yas_iarchive::currentObject ( ) const

◆ fetchArray()

template<typename T >
void vistle::yas_iarchive::fetchArray ( const std::string &  arname,
const ArrayCompletionHandler completeCallback 
) const
inline

◆ fetcher()

std::shared_ptr< Fetcher > vistle::yas_iarchive::fetcher ( ) const

◆ getObject()

obj_const_ptr vistle::yas_iarchive::getObject ( const std::string &  name,
const ObjectCompletionHandler completeCallback 
) const

◆ objectCompletionHandler()

const std::function< void()> & vistle::yas_iarchive::objectCompletionHandler ( ) const

◆ registerArrayNameTranslation()

void vistle::yas_iarchive::registerArrayNameTranslation ( const std::string &  arname,
const std::string &  name 
) const

◆ registerObjectNameTranslation()

void vistle::yas_iarchive::registerObjectNameTranslation ( const std::string &  arname,
const std::string &  name 
) const

◆ setCurrentObject()

void vistle::yas_iarchive::setCurrentObject ( ObjectData data)

◆ setFetcher()

void vistle::yas_iarchive::setFetcher ( std::shared_ptr< Fetcher fetcher)

◆ setObjectCompletionHandler()

void vistle::yas_iarchive::setObjectCompletionHandler ( const std::function< void()> &  completer)

◆ translateArrayName()

std::string vistle::yas_iarchive::translateArrayName ( const std::string &  name) const

◆ translateObjectName()

std::string vistle::yas_iarchive::translateObjectName ( const std::string &  name) const

The documentation for this class was generated from the following files: