#include <GeneralSeqReader.h>
|
| GeneralSeqReader (std::ostream &os) |
|
std::ostream & | os () |
|
const Mapping * | archive () |
|
AbstractSeq * | seq () |
|
double | formatVersion () const |
|
bool | hasFrameTime () const |
|
int | numParts () const |
|
bool | checkSeqType (const std::string &type) const |
|
void | setCustomSeqTypeChecker (std::function< bool(GeneralSeqReader &reader, const std::string &type)> func) |
|
bool | readHeaders (const Mapping *archive, AbstractSeq *seq) |
|
template<class SeqType , typename std::enable_if< std::is_base_of< AbstractSeq, SeqType >::value &&!std::is_base_of< AbstractMultiSeq, SeqType >::value, std::nullptr_t >::type = nullptr> |
bool | read (const Mapping *archive, SeqType *seq, std::function< void(const Listing &srcNode, int topIndex, typename SeqType::value_type &seqValue)> readValue) |
|
template<class SeqType , typename std::enable_if< std::is_base_of< AbstractSeq, SeqType >::value &&!std::is_base_of< AbstractMultiSeq, SeqType >::value, std::nullptr_t >::type = nullptr> |
bool | readFrames (const Mapping *archive, SeqType *seq, std::function< void(const Listing &srcNode, int topIndex, typename SeqType::value_type &seqValue)> readValue) |
|
template<class SeqType , typename std::enable_if< std::is_base_of< AbstractMultiSeq, SeqType >::value, std::nullptr_t >::type = nullptr> |
bool | read (const Mapping *archive, SeqType *seq, std::function< void(const ValueNode &srcNode, typename SeqType::value_type &seqValue)> readValue) |
|
template<class SeqType , typename std::enable_if< std::is_base_of< AbstractMultiSeq, SeqType >::value, std::nullptr_t >::type = nullptr> |
bool | readFrames (const Mapping *archive, SeqType *seq, std::function< void(const ValueNode &srcNode, typename SeqType::value_type &seqValue)> readValue) |
|
◆ GeneralSeqReader()
cnoid::GeneralSeqReader::GeneralSeqReader |
( |
std::ostream & |
os | ) |
|
|
inline |
◆ archive()
const Mapping* cnoid::GeneralSeqReader::archive |
( |
| ) |
|
|
inline |
◆ checkSeqType()
bool cnoid::GeneralSeqReader::checkSeqType |
( |
const std::string & |
type | ) |
const |
|
inline |
◆ formatVersion()
double cnoid::GeneralSeqReader::formatVersion |
( |
| ) |
const |
|
inline |
◆ hasFrameTime()
bool cnoid::GeneralSeqReader::hasFrameTime |
( |
| ) |
const |
|
inline |
◆ numParts()
int cnoid::GeneralSeqReader::numParts |
( |
| ) |
const |
|
inline |
◆ os()
std::ostream& cnoid::GeneralSeqReader::os |
( |
| ) |
|
|
inline |
◆ read() [1/2]
template<class SeqType , typename std::enable_if< std::is_base_of< AbstractSeq, SeqType >::value &&!std::is_base_of< AbstractMultiSeq, SeqType >::value, std::nullptr_t >::type = nullptr>
bool cnoid::GeneralSeqReader::read |
( |
const Mapping * |
archive, |
|
|
SeqType * |
seq, |
|
|
std::function< void(const Listing &srcNode, int topIndex, typename SeqType::value_type &seqValue)> |
readValue |
|
) |
| |
|
inline |
◆ read() [2/2]
template<class SeqType , typename std::enable_if< std::is_base_of< AbstractMultiSeq, SeqType >::value, std::nullptr_t >::type = nullptr>
bool cnoid::GeneralSeqReader::read |
( |
const Mapping * |
archive, |
|
|
SeqType * |
seq, |
|
|
std::function< void(const ValueNode &srcNode, typename SeqType::value_type &seqValue)> |
readValue |
|
) |
| |
|
inline |
◆ readFrames() [1/2]
template<class SeqType , typename std::enable_if< std::is_base_of< AbstractSeq, SeqType >::value &&!std::is_base_of< AbstractMultiSeq, SeqType >::value, std::nullptr_t >::type = nullptr>
bool cnoid::GeneralSeqReader::readFrames |
( |
const Mapping * |
archive, |
|
|
SeqType * |
seq, |
|
|
std::function< void(const Listing &srcNode, int topIndex, typename SeqType::value_type &seqValue)> |
readValue |
|
) |
| |
|
inline |
◆ readFrames() [2/2]
template<class SeqType , typename std::enable_if< std::is_base_of< AbstractMultiSeq, SeqType >::value, std::nullptr_t >::type = nullptr>
bool cnoid::GeneralSeqReader::readFrames |
( |
const Mapping * |
archive, |
|
|
SeqType * |
seq, |
|
|
std::function< void(const ValueNode &srcNode, typename SeqType::value_type &seqValue)> |
readValue |
|
) |
| |
|
inline |
◆ readHeaders()
◆ seq()
◆ setCustomSeqTypeChecker()
void cnoid::GeneralSeqReader::setCustomSeqTypeChecker |
( |
std::function< bool(GeneralSeqReader &reader, const std::string &type)> |
func | ) |
|
|
inline |
The documentation for this class was generated from the following files: