3DiVi Face SDK  3.24.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups
pbio::Template Class Reference

Interface object for saving the face template. More...

#include <Template.h>

Public Types

typedef LightSmartPtr
< Template >::tPtr 
Ptr
 Alias for the type of a smart pointer to Template.
 

Public Member Functions

std::string getMethodName () const
 Get a method name. Thread-safe. More...
 
void save (std::ostream &binary_stream) const
 Save the template to binary_stream. The format is platform-independent. Thread-safe. More...
 
void save (pbio::stl_wraps::WrapOStream &binary_stream) const
 Save the template to binary_stream. The format is platform-independent. Thread-safe. More...
 

Detailed Description

Interface object for saving the face template.

Member Function Documentation

std::string Template::getMethodName ( ) const
inline

Get a method name. Thread-safe.

Returns
The name of the method that created this template.
void Template::save ( std::ostream &  binary_stream) const
inline

Save the template to binary_stream. The format is platform-independent. Thread-safe.

Parameters
[out]binary_streamOutput stream object for saving the template. The file stream (std::ofstream) must be opened with the set std::ios_base::binary flag.
void Template::save ( pbio::stl_wraps::WrapOStream &  binary_stream) const
inline

Save the template to binary_stream. The format is platform-independent. Thread-safe.

Parameters
[out]binary_streamOutput stream object for saving the template. The file stream (std::ofstream) must be opened with the set std::ios_base::binary flag.