#include <Obiwan_tag.h>

execute obiwan in tag mode More...

Public Member Functions

 Obiwan_tag (int argc, char **argv)
 
 Obiwan_tag (ScaleUtils::IO::DB opts)
 
 ~Obiwan_tag () noexcept(false)
 
int execute (std::ostream &out, std::ostream &err)
 Tag management operations (add/delete tags from TagManager) More...
 

Static Public Member Functions

static std::string help ()
 provide a help message More...
 
static ScaleUtils::IO::DB populate (int argc, char **argv)
 

Protected Attributes

ScaleUtils::IO::DB b_opts
 

Detailed Description

execute obiwan in tag mode

Examples:
tstObiwan.cpp.

Constructor & Destructor Documentation

Obiwan_tag ( int  argc,
char **  argv 
)
Obiwan_tag ( ScaleUtils::IO::DB  opts)
~Obiwan_tag ( )
inlinenoexcept

Member Function Documentation

std::string help ( )
static

provide a help message

Take care to not mess up the formatting below. We are using doxygen snippets to get that text to appear as-is in the doxygen documentation for this script.

Referenced by Obiwan_tag::execute().

ScaleUtils::IO::DB populate ( int  argc,
char **  argv 
)
static
int execute ( std::ostream &  out,
std::ostream &  err 
)

Tag management operations (add/delete tags from TagManager)

manageTags takes arguments from a command line argument for tag type (either -idtags or -interptags); for each tag following the tag type,

If the tag does not exist, it will add the tag to the TagManager If the tag exists and a value is provided, it will replace the value of of the tag on TagManager If the tag exists and no value is provided, the tag is deleted

References Obiwan_tag::b_opts, TagManager::deleteTag(), Obiwan_tag::help(), Origen::loadMulti(), Origen::printTags_json(), Origen::saveLibrary(), TagManager::setIdTag(), and TagManager::setInterpTag().

Referenced by Origen::obiwan_main().

Member Data Documentation

ScaleUtils::IO::DB b_opts
protected

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