ValueTable¶
- class bagPy.ValueTable[source]¶
Bases:
objectProxy of C++ BAG::ValueTable class.
Attributes Summary
The membership flag
Methods Summary
addRecord(record)Override addRecord to get around SWIG mis-handling (which may be due to mis-configuration) of std::vector boxing and unboxing.
addRecords(ValueTable self, Records records)- param records:
getDefinition(ValueTable self)getFieldIndex(ValueTable self, std)- param name:
getFieldName(ValueTable self, size_t index)- param index:
getRecords(ValueTable self)getValue(ValueTable self, ...)- param recordIndex:
setValue(ValueTable self, ...)- param recordIndex:
Attributes Documentation
- thisown¶
The membership flag
Methods Documentation
- addRecord(record)[source]¶
Override addRecord to get around SWIG mis-handling (which may be due to mis-configuration) of std::vector boxing and unboxing.
- getDefinition(ValueTable self) RecordDefinition[source]¶
- getFieldIndex(ValueTable self, std::string const & name) size_t[source]¶
- Parameters:
name (std::string const &) –
- getValue(ValueTable self, size_t recordIndex, std::string const & name) CompoundDataType[source]¶
- Parameters:
recordIndex (size_t) –
name (std::string const &) –
self (getValue(ValueTable) –
recordIndex –
CompoundDataType (size_t fieldIndex) ->) –
recordIndex –
fieldIndex (size_t) –
- setValue(ValueTable self, size_t recordIndex, std::string const & name, CompoundDataType value)[source]¶
- Parameters:
recordIndex (size_t) –
name (std::string const &) –
value (BAG::CompoundDataType const &) –
self (setValue(ValueTable) –
recordIndex –
fieldIndex (size_t) –
value) (CompoundDataType) –
recordIndex –
fieldIndex –
value –
- addRecord(record)[source]¶
Override addRecord to get around SWIG mis-handling (which may be due to mis-configuration) of std::vector boxing and unboxing.
- getDefinition(ValueTable self) RecordDefinition[source]¶
- getFieldIndex(ValueTable self, std::string const & name) size_t[source]¶
- Parameters:
name (std::string const &) –
- getValue(ValueTable self, size_t recordIndex, std::string const & name) CompoundDataType[source]¶
- Parameters:
recordIndex (size_t) –
name (std::string const &) –
self (getValue(ValueTable) –
recordIndex –
CompoundDataType (size_t fieldIndex) ->) –
recordIndex –
fieldIndex (size_t) –
- setValue(ValueTable self, size_t recordIndex, std::string const & name, CompoundDataType value)[source]¶
- Parameters:
recordIndex (size_t) –
name (std::string const &) –
value (BAG::CompoundDataType const &) –
self (setValue(ValueTable) –
recordIndex –
fieldIndex (size_t) –
value) (CompoundDataType) –
recordIndex –
fieldIndex –
value –
- property thisown¶
The membership flag