VieSched++
VieVS VLBI Scheduling Software
VieVS::VieVS_Object Class Reference

VieVS base object. More...

#include <VieVS_Object.h>

Inheritance diagram for VieVS::VieVS_Object:

Public Member Functions

 VieVS_Object (unsigned long id)
 constructor More...
 
const unsigned long getId () const
 get object id More...
 
bool hasValidId () const
 check if id is valid More...
 
bool hasId (unsigned long id) const
 check if object has specific id More...
 
void setId (unsigned long id)
 set object id More...
 
std::string printId () const
 object id string More...
 

Private Attributes

unsigned long id_
 object id More...
 

Detailed Description

VieVS base object.

Author
Matthias Schartner
Date
15.03.2018

Constructor & Destructor Documentation

VieVS::VieVS_Object::VieVS_Object ( unsigned long  id)
inlineexplicit

constructor

Author
Matthias Schartner
Parameters
idobject id

Member Function Documentation

const unsigned long VieVS::VieVS_Object::getId ( ) const
inline

get object id

Author
Matthias Schartner
Returns
object id

Here is the caller graph for this function:

bool VieVS::VieVS_Object::hasId ( unsigned long  id) const
inline

check if object has specific id

Author
Matthias Schartner
Parameters
idtarget id
Returns
true if target it is equal to object id, otherwise false
bool VieVS::VieVS_Object::hasValidId ( ) const
inline

check if id is valid

Author
Matthias Schartner
Returns
flag if id is valid
std::string VieVS::VieVS_Object::printId ( ) const
inline

object id string

Author
Matthias Schartner
Returns
formatted string with object id

Here is the caller graph for this function:

void VieVS::VieVS_Object::setId ( unsigned long  id)
inline

set object id

Author
Matthias Schartner
Parameters
idnew id

Here is the caller graph for this function:

Member Data Documentation

unsigned long VieVS::VieVS_Object::id_
private

object id


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