|
RDK Documentation (Open Sourced RDK Components)
|
52 typedef typename std::vector<int>::iterator
iterator;
82 const T & at(
size_t i)
const {
This class is implemented using templates and it is used to maintain a container with the list of sup...
std::vector< int >::iterator iterator
An iterator for the container.
size_t size()
This function gets the size of the container.
T & at(size_t i)
This is a template function to get the instance of the calling class against the value at the positio...
std::vector< int > _container
Vector container for integers to maintain the id's.
List()
This function is the default constructor of class List.
void push_back(const T &x)
This is a template function used to push/store the ID of an instance x into the container.
virtual ~List()
This function is the default destructor of class List and is a virtual function.