1 #ifndef EMITTERMANIP_H_62B23520_7C8E_11DE_8A39_0800200C9A66 2 #define EMITTERMANIP_H_62B23520_7C8E_11DE_8A39_0800200C9A66 4 #if defined(_MSC_VER) || \ 5 (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \ 6 (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4 66 _Indent(
int value_) : value(value_) {}
73 _Alias(
const std::string& content_) : content(content_) {}
77 inline _Alias Alias(
const std::string content) {
return _Alias(content); }
80 _Anchor(
const std::string& content_) : content(content_) {}
84 inline _Anchor Anchor(
const std::string content) {
return _Anchor(content); }
88 enum value { Verbatim, PrimaryHandle, NamedHandle };
91 explicit _Tag(
const std::string& prefix_,
const std::string& content_,
93 : prefix(prefix_), content(content_), type(type_) {}
99 inline _Tag VerbatimTag(
const std::string content) {
100 return _Tag(
"", content, _Tag::Type::Verbatim);
103 inline _Tag LocalTag(
const std::string content) {
104 return _Tag(
"", content, _Tag::Type::PrimaryHandle);
107 inline _Tag LocalTag(
const std::string& prefix,
const std::string content) {
108 return _Tag(prefix, content, _Tag::Type::NamedHandle);
111 inline _Tag SecondaryTag(
const std::string content) {
112 return _Tag(
"", content, _Tag::Type::NamedHandle);
116 _Comment(
const std::string& content_) : content(content_) {}
120 inline _Comment Comment(
const std::string content) {
return _Comment(content); }
123 _Precision(
int floatPrecision_,
int doublePrecision_)
124 : floatPrecision(floatPrecision_), doublePrecision(doublePrecision_) {}
137 #endif // EMITTERMANIP_H_62B23520_7C8E_11DE_8A39_0800200C9A66 Definition: emittermanip.h:122
Definition: emittermanip.h:87
Definition: emittermanip.h:86
Definition: emittermanip.h:72
Definition: emittermanip.h:65
Definition: DrawableObjectLoader.h:10
Definition: emittermanip.h:79