AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
Public Member Functions | List of all members
drama::gitarg::Filename Class Reference

Detailed Description

A class which reads a file name from an SDS Command argument structures.

This is C++ class is a sub-class of gitarg::String specialized for the names of files which must exist. In particular, it checks if the file exists and can be read.

#include "gitarg.hh"

Inheritance diagram for drama::gitarg::Filename:
drama::gitarg::String

Public Member Functions

 Filename ()
 Default constructor.
 
 Filename (const sds::Id &Id, const std::string &Name="Argument1", const int Position=1, const std::string &Default="", const Flags flags=Flags::KeepErr)
 Constructor with the initial value set from an SDS structure.
 
 Filename (drama::thread::TAction *taction, const sds::Id &Id, const std::string &Name="Argument1", const int Position=1, const std::string &Default="", const Flags flags=Flags::KeepErr)
 Constructor with the initial value set from an SDS structure.
 
virtual void Get (const sds::Id &Id, const std::string &Name="Argument1", const int Position=1, const std::string &Default="", const Flags flags=Flags::KeepErr)
 Fetch the value of this item from an SDS structure.
 

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