6 #ifndef KNOWROB_STRING_H
7 #define KNOWROB_STRING_H
15 class StringBase :
public XSDAtomic {
29 void write(std::ostream &os)
const override;
36 template<
typename StrType>
47 void write(std::ostream &os)
const override { os <<
'"' <<
str_ <<
'"'; }
56 using String = StringTemplate<std::string>;
61 using StringView = StringTemplate<std::string_view>;
~StringBase() override=default
void write(std::ostream &os) const override
bool isSameString(const StringBase &other) const
std::string_view stringForm() const override
void write(std::ostream &os) const override
StringTemplate(std::string_view str)
~StringTemplate() override=default
StringTemplate< std::string_view > StringView
StringTemplate< std::string > String
XSDType
The XSDType enum Enumeration of the XSD types.