Records

class bagPy.Records[source]

Bases: object

Proxy of C++ std::vector< BAG::Record > class.

__init__(Records self) -> Records __init__(Records self, Records other) -> Records

Parameters:
  • other (std::vector< BAG::Record > const &) –

  • self (__init__(Records) –

  • BAG::CompoundDataType (std::vector< std::vector<) –

  • Records (Record value) ->) –

  • size (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::size_type) –

  • self

  • BAG::CompoundDataType

  • size

  • Records

  • size

  • value (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::value_type const &) –

Attributes Summary

thisown

The membership flag

Methods Summary

append(Records self, Record x)

param x:

assign(Records self, std, Record x)

param n:

back(Records self)

begin(Records self)

capacity(Records self)

clear(Records self)

empty(Records self)

end(Records self)

erase(Records self, std)

param pos:

front(Records self)

get_allocator(Records self)

insert(Records self, std, Record x)

param pos:

iterator(Records self)

pop(Records self)

pop_back(Records self)

push_back(Records self, Record x)

param x:

rbegin(Records self)

rend(Records self)

reserve(Records self, std)

param n:

resize(Records self, std)

param new_size:

size(Records self)

swap(Records self, Records v)

param v:

Attributes Documentation

thisown

The membership flag

Methods Documentation

append(Records self, Record x)[source]
Parameters:

x (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::value_type const &) –

assign(Records self, std::vector< std::vector< BAG::CompoundDataType, std::allocator< BAG::CompoundDataType > > >::size_type n, Record x)[source]
Parameters:
  • n (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::size_type) –

  • x (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::value_type const &) –

back(Records self) Record[source]
begin(Records self) std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::iterator[source]
capacity(Records self) std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::size_type[source]
clear(Records self)[source]
empty(Records self) bool[source]
end(Records self) std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::iterator[source]
erase(Records self, std::vector< std::vector< BAG::CompoundDataType, std::allocator< BAG::CompoundDataType > > >::iterator pos) std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::iterator[source]
Parameters:
  • pos (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::iterator) –

  • self (erase(Records) –

  • BAG::CompoundDataType (std::allocator< BAG::CompoundDataType > > >::iterator last) -> std::vector< std::vector<) –

  • first (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::iterator) –

  • BAG::CompoundDataType

  • BAG::CompoundDataType

  • >::iterator (std::allocator< BAG::CompoundDataType > >) –

  • first

  • last (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::iterator) –

front(Records self) Record[source]
get_allocator(Records self) std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::allocator_type[source]
insert(Records self, std::vector< std::vector< BAG::CompoundDataType, std::allocator< BAG::CompoundDataType > > >::iterator pos, Record x) std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::iterator[source]
Parameters:
  • pos (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::iterator) –

  • x (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::value_type const &) –

  • self (insert(Records) –

  • BAG::CompoundDataType (std::vector< std::vector<) –

  • pos

  • BAG::CompoundDataType

  • n (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::size_type) –

  • x) (Record) –

  • pos

  • n

  • x

iterator(Records self) SwigPyIterator[source]
pop(Records self) Record[source]
pop_back(Records self)[source]
push_back(Records self, Record x)[source]
Parameters:

x (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::value_type const &) –

rbegin(Records self) std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::reverse_iterator[source]
rend(Records self) std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::reverse_iterator[source]
reserve(Records self, std::vector< std::vector< BAG::CompoundDataType, std::allocator< BAG::CompoundDataType > > >::size_type n)[source]
Parameters:

n (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::size_type) –

resize(Records self, std::vector< std::vector< BAG::CompoundDataType, std::allocator< BAG::CompoundDataType > > >::size_type new_size)[source]
Parameters:
  • new_size (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::size_type) –

  • self (resize(Records) –

  • BAG::CompoundDataType (std::vector< std::vector<) –

  • new_size

  • x) (Record) –

  • new_size

  • x (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::value_type const &) –

size(Records self) std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::size_type[source]
swap(Records self, Records v)[source]
Parameters:

v (std::vector< BAG::Record > &) –

__init__(Records self) Records[source]
__init__(Records self, Records other) Records
Parameters:
  • other (std::vector< BAG::Record > const &) –

  • self (__init__(Records) –

  • BAG::CompoundDataType (std::vector< std::vector<) –

  • Records (Record value) ->) –

  • size (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::size_type) –

  • self

  • BAG::CompoundDataType

  • size

  • Records

  • size

  • value (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::value_type const &) –

append(Records self, Record x)[source]
Parameters:

x (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::value_type const &) –

assign(Records self, std::vector< std::vector< BAG::CompoundDataType, std::allocator< BAG::CompoundDataType > > >::size_type n, Record x)[source]
Parameters:
  • n (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::size_type) –

  • x (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::value_type const &) –

back(Records self) Record[source]
begin(Records self) std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::iterator[source]
capacity(Records self) std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::size_type[source]
clear(Records self)[source]
empty(Records self) bool[source]
end(Records self) std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::iterator[source]
erase(Records self, std::vector< std::vector< BAG::CompoundDataType, std::allocator< BAG::CompoundDataType > > >::iterator pos) std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::iterator[source]
Parameters:
  • pos (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::iterator) –

  • self (erase(Records) –

  • BAG::CompoundDataType (std::allocator< BAG::CompoundDataType > > >::iterator last) -> std::vector< std::vector<) –

  • first (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::iterator) –

  • BAG::CompoundDataType

  • BAG::CompoundDataType

  • >::iterator (std::allocator< BAG::CompoundDataType > >) –

  • first

  • last (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::iterator) –

front(Records self) Record[source]
get_allocator(Records self) std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::allocator_type[source]
insert(Records self, std::vector< std::vector< BAG::CompoundDataType, std::allocator< BAG::CompoundDataType > > >::iterator pos, Record x) std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::iterator[source]
Parameters:
  • pos (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::iterator) –

  • x (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::value_type const &) –

  • self (insert(Records) –

  • BAG::CompoundDataType (std::vector< std::vector<) –

  • pos

  • BAG::CompoundDataType

  • n (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::size_type) –

  • x) (Record) –

  • pos

  • n

  • x

iterator(Records self) SwigPyIterator[source]
pop(Records self) Record[source]
pop_back(Records self)[source]
push_back(Records self, Record x)[source]
Parameters:

x (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::value_type const &) –

rbegin(Records self) std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::reverse_iterator[source]
rend(Records self) std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::reverse_iterator[source]
reserve(Records self, std::vector< std::vector< BAG::CompoundDataType, std::allocator< BAG::CompoundDataType > > >::size_type n)[source]
Parameters:

n (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::size_type) –

resize(Records self, std::vector< std::vector< BAG::CompoundDataType, std::allocator< BAG::CompoundDataType > > >::size_type new_size)[source]
Parameters:
  • new_size (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::size_type) –

  • self (resize(Records) –

  • BAG::CompoundDataType (std::vector< std::vector<) –

  • new_size

  • x) (Record) –

  • new_size

  • x (std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::value_type const &) –

size(Records self) std::vector< std::vector< BAG::CompoundDataType,std::allocator< BAG::CompoundDataType > > >::size_type[source]
swap(Records self, Records v)[source]
Parameters:

v (std::vector< BAG::Record > &) –

property thisown

The membership flag