Skip to content

object_writer

More...

Public Types

Name
typedef object_writer Self
typedef T ObjectType

Public Functions

Name
void SetInput(const std::vector< ObjectType > & p)
void SetFileName(const char * fn)
void SetFileName(const std::string & fn)
const std::string & GetFileName() const
void Write()
void Update()
object_writer()
virtual ~object_writer()

Detailed Description

template <class T >
class object_writer;

Public Types Documentation

typedef Self

typedef object_writer object_writer< T >::Self;

Standard class typedefs

typedef ObjectType

typedef T object_writer< T >::ObjectType;

Public Functions Documentation

function SetInput

inline void SetInput(
    const std::vector< ObjectType > & p
)

Set the input vector. The input is a reference to a std::vector of ObjectType.

function SetFileName

inline void SetFileName(
    const char * fn
)

function SetFileName

inline void SetFileName(
    const std::string & fn
)

function GetFileName

inline const std::string & GetFileName() const

function Write

inline void Write()

Write the file.

function Update

inline void Update()

function object_writer

inline object_writer()

function ~object_writer

inline virtual ~object_writer()

Updated on 2022-07-23 at 17:50:04 -0600