$extrastylesheet
Enumerations | |
enum | Tag { None = 0, Ignored } |
enum | Type { Undefined = 0, Character, VerticalLineSeparator, HorizontalLineSeparator, WhitespaceSeparator, Noise, Punctuation, Image, DropCapital } |
Functions | |
std::ostream & | operator<< (std::ostream &ostr, const Tag &tag) |
std::ostream & | operator<< (std::ostream &ostr, const Type &type) |
Tag | str2tag (const std::string &str) |
Type | str2type (const std::string &str) |
Namespace of classes related to components.
All possible tags that can be used for components.
component::Tag values can be converted to String using operator<<(std::ostream &ostr, const Tag &tag). String values can be converted to component::Tag using str2tag().
Definition at line 54 of file component.hh.
All possible types of components.
component::Type values can be converted to String using operator<<(std::ostream &ostr, const Type &type). String values can be converted to component::Type using str2type().
Definition at line 69 of file component.hh.
std::ostream& scribo::component::operator<< | ( | std::ostream & | ostr, |
const Tag & | tag | ||
) |
Operator allowing scribo::component::Tag to be printed out.
std::ostream& scribo::component::operator<< | ( | std::ostream & | ostr, |
const Type & | type | ||
) |
Operator allowing scribo::component::Type to be printed out.
Tag scribo::component::str2tag | ( | const std::string & | str | ) |
Convert a std::string to a scribo::component::Tag.
Type scribo::component::str2type | ( | const std::string & | str | ) |
Convert a std::string to a scribo::component::Type.