idol
A C++ Framework for Optimization
Loading...
Searching...
No Matches
idol::ObjectId< T > Class Template Reference
Collaboration diagram for idol::ObjectId< T >:
Collaboration graph

Public Member Functions

 ObjectId (typename std::list< Versions< T > >::iterator t_it, unsigned int t_id, std::string t_name)
 
auto & versions ()
 
const auto & versions () const
 
unsigned int id () const
 
const auto & name () const
 

Detailed Description

template<class T>
class idol::ObjectId< T >

Definition at line 21 of file ObjectId.h.

Constructor & Destructor Documentation

◆ ObjectId()

template<class T >
idol::ObjectId< T >::ObjectId ( typename std::list< Versions< T > >::iterator  t_it,
unsigned int  t_id,
std::string  t_name 
)
inline

Definition at line 26 of file ObjectId.h.

Member Function Documentation

◆ id()

template<class T >
unsigned int idol::ObjectId< T >::id ( ) const
inline

Definition at line 32 of file ObjectId.h.

◆ name()

template<class T >
const auto & idol::ObjectId< T >::name ( ) const
inline

Definition at line 34 of file ObjectId.h.

◆ versions() [1/2]

template<class T >
auto & idol::ObjectId< T >::versions ( )
inline

Definition at line 29 of file ObjectId.h.

◆ versions() [2/2]

template<class T >
const auto & idol::ObjectId< T >::versions ( ) const
inline

Definition at line 30 of file ObjectId.h.