← API Reference Namespace

asge::config::toml::_internal

Classes & Structs

Enumerations

#enum class TableType
Root
Standard
Array
#enum class ElementType
Null
Int
Int64
Double
Bool
String
Array
#enum class StringType
Basic
Literal
MultiBasic
MultiLiteral
Invalid

Typedefs

#using ValueType = std::variant< std::string, double, int, std::int64_t, bool, std::vector< TOMLValue > >
#using VectorResult = Result< std::vector< T > >
#using table_const_pointer = std::shared_ptr< Table const >
#using to_native_type_t = typename to_native_type< EType >::type

Functions

#std::ostream & operator<<(std::ostream &oss, ValueType const &inValue) noexcept
#template<typename T> VectorResult< T > ToTypedVector(std::vector< TOMLValue > const &inVec)
#template<typename T> TOMLTypeInfo DefaultTypeInfoFor() noexcept
#ElementType DetectType(std::string_view inLine) noexcept
#std::string_view StripComment(std::string_view inLine) noexcept
#Result< TOMLEntry > ParseValue(std::istringstream *inStream, std::string_view inLine)
#std::vector< std::string_view > SplitArrayElements(std::string_view inStr)
#Result< TOMLEntry > ParseArray(std::string_view inLine)
#template<ElementType EType> ValueType BuildArray(std::vector< std::string_view > &inElements)
#Result< str::String > ParseString(std::istringstream *inStream, std::string_view inLine)

Parses a TOML string value, including empty basic and literal strings.

#StringType DetectStringType(std::string_view inSv) noexcept
#std::string ProcessEscape(std::string_view inSv, bool isMultiline=false) noexcept
#std::string ParseBasicString(std::string_view inLine, bool isLiteral=false) noexcept
#std::string ParseMultiLineString(std::istringstream &inStream, std::string_view inSv, bool isLiteral=false)
#std::string EscapeForOutput(std::string_view inRaw, bool isMultiline) noexcept
#void WriteValue(std::ostream &oss, ValueType const &inValue, TOMLTypeInfo const &inInfo) noexcept
#PathSegment ParseSegment(std::string_view inSegment)
#std::pair< std::string_view, std::string_view > SplitTablePath(std::string_view inTableName) noexcept
#Result< table_pointer > FindSubTable(table_pointer inParent, std::string const &inName) noexcept
#Result< table_pointer > FindSubTable(table_const_pointer inParent, std::string const &inName) noexcept
#Result< table_pointer > FindSubTableAt(table_const_pointer inParent, std::string const &inName, std::size_t inIndex) noexcept
#table_pointer FindOrCreateTable(table_pointer inRoot, std::string_view inTableName, TableType inType)
#table_pointer ParseArrayTable(table_pointer inRoot, std::string_view inLine)
#table_pointer ParseTable(table_pointer inRoot, std::string_view inLine)