Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Member Functions | Protected Member Functions | Friends
pcl::outofcore::OutofcoreAbstractMetadata Class Referenceabstract

#include <pcl/outofcore/metadata.h>

+ Inheritance diagram for pcl::outofcore::OutofcoreAbstractMetadata:

Public Member Functions

 OutofcoreAbstractMetadata ()
 Empty constructor. More...
 
virtual ~OutofcoreAbstractMetadata ()
 
virtual void serializeMetadataToDisk ()=0
 Write the metadata in the on-disk format, e.g. More...
 
virtual int loadMetadataFromDisk (const boost::filesystem::path &path_to_metadata)=0
 Method which should read and parse metadata and store it in variables that have public getters and setters. More...
 

Protected Member Functions

virtual void writeMetadataString (std::vector< char > &buf)=0
 Constructs the metadata ascii which can be written to disk or piped to stdout. More...
 

Friends

std::ostream & operator<< (std::ostream &os, const OutofcoreAbstractMetadata &metadata_arg)
 Should write the same ascii metadata that is saved on disk, or a human readable format of the metadata in case a binary format is being used. More...
 

Detailed Description

Definition at line 58 of file metadata.h.

Constructor & Destructor Documentation

pcl::outofcore::OutofcoreAbstractMetadata::OutofcoreAbstractMetadata ( )
inline

Empty constructor.

Definition at line 63 of file metadata.h.

virtual pcl::outofcore::OutofcoreAbstractMetadata::~OutofcoreAbstractMetadata ( )
inlinevirtual

Definition at line 68 of file metadata.h.

References pcl::operator<<().

Member Function Documentation

virtual int pcl::outofcore::OutofcoreAbstractMetadata::loadMetadataFromDisk ( const boost::filesystem::path &  path_to_metadata)
pure virtual

Method which should read and parse metadata and store it in variables that have public getters and setters.

Implemented in pcl::outofcore::OutofcoreOctreeBaseMetadata.

virtual void pcl::outofcore::OutofcoreAbstractMetadata::serializeMetadataToDisk ( )
pure virtual

Write the metadata in the on-disk format, e.g.

JSON.

Implemented in pcl::outofcore::OutofcoreOctreeBaseMetadata.

virtual void pcl::outofcore::OutofcoreAbstractMetadata::writeMetadataString ( std::vector< char > &  buf)
protectedpure virtual

Constructs the metadata ascii which can be written to disk or piped to stdout.

Implemented in pcl::outofcore::OutofcoreOctreeBaseMetadata.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const OutofcoreAbstractMetadata metadata_arg 
)
friend

Should write the same ascii metadata that is saved on disk, or a human readable format of the metadata in case a binary format is being used.


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