kybalg::ObjId< T > Class Template Reference

Template class that associate an integer to a vector of class. More...

#include <ProbMultiRegCam3DStr.h>

Inheritance diagram for kybalg::ObjId< T >:

kybalg::bearDistIdTime kybalg::BearIdTime

List of all members.

Public Member Functions

 ObjId ()
 Default constructor.
 ObjId (T obj, int id)
 Default constructor.
 ObjId (vector< T > obj, int id)
 Default constructor.
 ~ObjId ()
 Default destructor.
ObjIdoperator= (const ObjId &rhs)
 Assignement operator =.
vector< T > getObj ()
 Get the object.
int getId ()
 Get the id.
void setObj (T obj)
 Set the object.
void setObj (vector< T > obj, int id)
 Set the object.
void setObj (vector< T > obj)
 Set the object.
void setObj (T obj, int id)
 Set the object.
void setSubObj (T obj, int pos)
 Substitute an item in position pos.
void setId (int id)
 Set the id of the object.
void clearObj ()
 Clear the inner vector.


Detailed Description

template<class T>
class kybalg::ObjId< T >

Template class that associate an integer to a vector of class.

Author:
Marco Cognetti

Constructor & Destructor Documentation

template<class T>
kybalg::ObjId< T >::ObjId (  )  [inline]

Default constructor.

template<class T>
kybalg::ObjId< T >::ObjId ( obj,
int  id 
) [inline]

Default constructor.

template<class T>
kybalg::ObjId< T >::ObjId ( vector< T >  obj,
int  id 
) [inline]

Default constructor.

template<class T>
kybalg::ObjId< T >::~ObjId (  )  [inline]

Default destructor.


Member Function Documentation

template<class T>
ObjId& kybalg::ObjId< T >::operator= ( const ObjId< T > &  rhs  )  [inline]

Assignement operator =.

template<class T>
vector<T> kybalg::ObjId< T >::getObj (  )  [inline]

Get the object.

template<class T>
int kybalg::ObjId< T >::getId ( void   )  [inline]

Get the id.

template<class T>
void kybalg::ObjId< T >::setObj ( obj  )  [inline]

Set the object.

template<class T>
void kybalg::ObjId< T >::setObj ( vector< T >  obj,
int  id 
) [inline]

Set the object.

template<class T>
void kybalg::ObjId< T >::setObj ( vector< T >  obj  )  [inline]

Set the object.

template<class T>
void kybalg::ObjId< T >::setObj ( obj,
int  id 
) [inline]

Set the object.

template<class T>
void kybalg::ObjId< T >::setSubObj ( obj,
int  pos 
) [inline]

Substitute an item in position pos.

template<class T>
void kybalg::ObjId< T >::setId ( int  id  )  [inline]

Set the id of the object.

template<class T>
void kybalg::ObjId< T >::clearObj (  )  [inline]

Clear the inner vector.


The documentation for this class was generated from the following file:

Generated on Mon Feb 20 07:01:10 2017 for MIP by  doxygen 1.5.6