Public Member Functions | Private Member Functions | Private Attributes
megatree::VizStorage Class Reference

#include <viz_storage.h>

Inheritance diagram for megatree::VizStorage:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void get (const boost::filesystem::path &path, ByteVec &result)
virtual void getAsync (const boost::filesystem::path &path, GetCallback callback)
virtual void getBatch (const std::vector< boost::filesystem::path > &paths, std::vector< ByteVec > &results)
virtual std::string getType ()
virtual void putAsync (const boost::filesystem::path &path, const ByteVec &data, PutCallback callback)
virtual void putBatch (const std::vector< boost::filesystem::path > &paths, std::vector< ByteVec > &data)
 VizStorage (const boost::filesystem::path &path)
 ~VizStorage ()

Private Member Functions

void convert (const ByteVec &data_in, ByteVec &data_out)
void convertCb (const boost::filesystem::path &path, GetCallback cb, const ByteVec &data)

Private Attributes

boost::shared_ptr< Storagestorage
unsigned subtree_width
boost::filesystem::path tree

Detailed Description

Definition at line 9 of file viz_storage.h.


Constructor & Destructor Documentation

megatree::VizStorage::VizStorage ( const boost::filesystem::path &  path)

Definition at line 8 of file viz_storage.cpp.

Definition at line 13 of file viz_storage.h.


Member Function Documentation

void megatree::VizStorage::convert ( const ByteVec data_in,
ByteVec data_out 
) [private]

Definition at line 56 of file viz_storage.cpp.

void megatree::VizStorage::convertCb ( const boost::filesystem::path &  path,
GetCallback  cb,
const ByteVec data 
) [private]

Definition at line 46 of file viz_storage.cpp.

void megatree::VizStorage::get ( const boost::filesystem::path &  path,
ByteVec result 
) [virtual]

Reimplemented from megatree::Storage.

Definition at line 20 of file viz_storage.cpp.

void megatree::VizStorage::getAsync ( const boost::filesystem::path &  path,
GetCallback  callback 
) [virtual]

Implements megatree::Storage.

Definition at line 37 of file viz_storage.cpp.

void megatree::VizStorage::getBatch ( const std::vector< boost::filesystem::path > &  paths,
std::vector< ByteVec > &  results 
) [virtual]

Reimplemented from megatree::Storage.

Definition at line 27 of file viz_storage.cpp.

virtual std::string megatree::VizStorage::getType ( ) [inline, virtual]

Implements megatree::Storage.

Definition at line 20 of file viz_storage.h.

virtual void megatree::VizStorage::putAsync ( const boost::filesystem::path &  path,
const ByteVec data,
PutCallback  callback 
) [inline, virtual]

Implements megatree::Storage.

Definition at line 25 of file viz_storage.h.

virtual void megatree::VizStorage::putBatch ( const std::vector< boost::filesystem::path > &  paths,
std::vector< ByteVec > &  data 
) [inline, virtual]

Reimplemented from megatree::Storage.

Definition at line 23 of file viz_storage.h.


Member Data Documentation

boost::shared_ptr<Storage> megatree::VizStorage::storage [private]

Definition at line 31 of file viz_storage.h.

Definition at line 32 of file viz_storage.h.

boost::filesystem::path megatree::VizStorage::tree [private]

Definition at line 26 of file viz_storage.h.


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


megatree_storage
Author(s): Wim Meeussen
autogenerated on Mon Dec 2 2013 13:01:19