|
🛰️航天仿真算法库 SpaceAST 0.0.1
|
#include <ValueView.hpp>
Public 类型 | |
| using | SplitterType = Splitter<ByCommaAndRepeatedWhitespace, SkipBracket> |
Public 成员函数 | |
| ValueView (StringView value) | |
| ValueView (const char *value) | |
| ValueView (const std::string &value) | |
| ValueView (const GenericValue &value) | |
| const StringView & | value () const |
| StringView & | value () |
| int | toInt () const |
| errc_t | toInt (int &value) const |
| double | toDouble () const |
| errc_t | toDouble (double &value) const |
| double | toFortranDouble () const |
| errc_t | toFortranDouble (double &value) const |
| bool | toBool () const |
| errc_t | toBool (bool &value) const |
| Color | toColor () const |
| errc_t | toColor (Color &value) const |
| std::string | toString () const |
| void | toString (std::string &value) const |
| std::vector< ValueView > | toVector () const |
| void | toVector (std::vector< ValueView > &value) const |
| std::vector< double > | toFortranDoubleVector () const |
| errc_t | toFortranDoubleVector (std::vector< double > &value) const |
| std::vector< double > | toDoubleVector () const |
| errc_t | toDoubleVector (std::vector< double > &value) const |
| std::vector< int > | toIntVector () const |
| errc_t | toIntVector (std::vector< int > &value) const |
| const StringView & | toStringView () const |
| GenericValue | toValue () const |
| operator StringView () const | |
| const char * | data () const |
| size_t | size () const |
| SplitterType | split () const |
| template<typename Delimiter > | |
| strings_internal::Splitter< typename strings_internal::SelectDelimiter< Delimiter >::type, strings_internal::AllowEmpty, StringView > | split (Delimiter delimiter) const |
Public 属性 | |
| StringView | value_ |
值视图类
提供对值的视图操作,包括解析和格式化值。