5 #ifndef VIL_NITF2_TYPED_SCALAR_FIELD_H 6 #define VIL_NITF2_TYPED_SCALAR_FIELD_H 14 # include <vcl_msvc_warnings.h> 36 bool value(T& out_value)
const override {
49 std::ostream&
output(std::ostream& os)
const override {
return os <<
m_value; }
80 tr->
columns.emplace_back(
"TREs" );
81 vil_nitf2_tagged_record_sequence::const_iterator it;
82 for ( it = m_value.begin() ; it != m_value.end() ; it++ ) {
83 tr->
children.push_back( (*it)->get_tree() );
92 delete[] (
char*) m_value;
107 #endif // VIL_NITF2_TYPED_SCALAR_FIELD_H
std::ostream & output(std::ostream &os) const override
std::vector< std::string > columns
~vil_nitf2_typed_scalar_field() override
void set_value(const T &value)
vil_nitf2_typed_scalar_field(T value, vil_nitf2_field_definition *definition)
field_tree * get_tree() const override
field_tree * get_tree() const override
std::vector< field_tree * > children
bool value(T &out_value) const override