121 bool match(std::istream& in);
126 std::string
string()
const;
152 static bool isClear_;
162 static bool isMatched_;
165 static std::string input_;
198 {
return isRequired_; }
204 {
return isMatched_; }
static bool isMatched()
Did the most recent attempt to match a Label succeed?
static const int LabelWidth
Width of label field in file output format.
bool isRequired() const
Is this the label for a required component?
File containing preprocessor macros for error handling.
static bool isClear()
Is the input buffer clear?
std::string string() const
Return label string.
virtual ~Label()
Destructor.
Utility classes for scientific computation.
friend std::ostream & operator<<(std::ostream &out, Label label)
Inserter for Label.
void setString(std::string string)
Set the label string.
A label string in a file format.
bool match(std::istream &in)
Read and attempt to match next word in an input stream.
friend std::istream & operator>>(std::istream &in, Label label)
Extractor for Label.
Label(bool isRequired=true)
Constructor.
static void clear()
Reset buffer and flags to initial state.