Logo
Telescience Resource Kit
TReK C++  5.4.0 ART
trek::Dependency Class Referenceabstract

This class is the abstraction for all parameter dependencies. More...

#include <dependency.h>

Inherits trek::NamedItem.

Inherited by trek::AndDependency, trek::ComparisonDependency, trek::CounterDependency, and trek::OrDependency.

Public Member Functions

enum dependency_type GetType ()
 Returns an enumeration for the type of dependency.
 
const char * GetDependencyParameter ()
 Returns the parameter to use for the counter.
 
Constructors, Destructor, and Other Basic Methods
 Dependency ()
 Default constructor of the class.
 
 Dependency (Dependency &input)
 Copy constructor of the class.
 
virtual ~Dependency ()
 Class destructor. More...
 
void operator= (Dependency &right_side)
 Provides the equal operator.
 
virtual void Init ()
 Initializes the object.
 
- Public Member Functions inherited from trek::NamedItem
void SetName (const char *input_ptr)
 Sets the name of the item. More...
 
void SetAlias (const char *input)
 Sets the alias of the item. More...
 
void SetShortDescription (const char *input_ptr)
 Sets the short description of the item. More...
 
void SetLongDescription (const char *input_ptr)
 Sets the long description of the item. More...
 
void SetUserDescription (const char *input_ptr)
 Sets the user description of the item. More...
 
void SetOwner (const char *input_ptr)
 Sets the owner of the item. More...
 
void SetPath (const char *input_ptr)
 Sets the path for the item. More...
 
const char * GetName ()
 Returns the name of the item.
 
const char * GetAlias ()
 Returns the alias of the item.
 
const char * GetShortDescription ()
 Returns the short description of the item.
 
const char * GetLongDescription ()
 Returns the long description of the item.
 
const char * GetUserDescription ()
 Returns the user description of the item.
 
const char * GetOwner ()
 Returns the owner of the item.
 
const char * GetPath ()
 Returns the path for the item.
 
int32_t AddAttribute (const char *name, const char *value)
 Adds an attribute to the item. More...
 
void GetAttributeList (StringArray &attr_array)
 Gets a list of the attribute names. More...
 
int32_t GetAttribute (const char *name, char *value, uint32_t &value_len)
 Get the value of the specified attribute. More...
 
 NamedItem ()
 Default constructor of the class.
 
 NamedItem (NamedItem &input)
 Copy constructor of the class.
 
virtual ~NamedItem ()
 Class destructor. More...
 
void operator= (NamedItem &right_side)
 Provides the equal operator.
 
bool operator== (NamedItem &right_side)
 Provides the == operator.
 

Detailed Description

This class is the abstraction for all parameter dependencies.

Dependencies use the value(s) of other parameter(s) to determine if a parameter is available for Extract or Build.

Constructor & Destructor Documentation

◆ ~Dependency()

trek::Dependency::~Dependency ( )
virtual

Class destructor.

Removes all resources created with this instance of the class.