ValueTable

class bagPy.ValueTable[source]

Bases: object

Proxy of C++ BAG::ValueTable class.

Attributes Summary

thisown

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.

addRecords(ValueTable self, Records records)[source]
Parameters:

records (BAG::Records const &) –

getDefinition(ValueTable self) RecordDefinition[source]
getFieldIndex(ValueTable self, std::string const & name) size_t[source]
Parameters:

name (std::string const &) –

getFieldName(ValueTable self, size_t index) char const *[source]
Parameters:

index (size_t) –

getRecords(ValueTable self) Records[source]
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

__init__(*args, **kwargs)[source]
addRecord(record)[source]

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)[source]
Parameters:

records (BAG::Records const &) –

getDefinition(ValueTable self) RecordDefinition[source]
getFieldIndex(ValueTable self, std::string const & name) size_t[source]
Parameters:

name (std::string const &) –

getFieldName(ValueTable self, size_t index) char const *[source]
Parameters:

index (size_t) –

getRecords(ValueTable self) Records[source]
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