Interface object for saving the face template.
More...
#include <ContextTemplate.h>
|
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...
|
|
Interface object for saving the face template.
std::string ContextTemplate::getMethodName |
( |
| ) |
const |
|
inline |
Get a method name. Thread-safe.
- Returns
- The name of the method that created this template.
void ContextTemplate::save |
( |
std::ostream & |
binary_stream | ) |
const |
|
inline |
Save the template to binary_stream. The format is platform-independent. Thread-safe.
- Parameters
-
[out] | binary_stream | Output stream object for saving the template. The file stream (std::ofstream) must be opened with the set std::ios_base::binary flag. |
void ContextTemplate::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_stream | Output stream object for saving the template. The file stream (std::ofstream) must be opened with the set std::ios_base::binary flag. |