Function from_chars

Summary

#include <samples/quickstart.cpp>

(1) template <class T>
    bool from_chars(ryml::csubstr buf, vec2< T > *v)

(2) template <class T>
    bool from_chars(ryml::csubstr buf, vec3< T > *v)

(3) template <class T>
    bool from_chars(ryml::csubstr buf, vec4< T > *v)

(4) template <class T>
    bool from_chars(ryml::csubstr buf, parse_only_vec2< T > *v)

(5) template <class T>
    bool from_chars(ryml::csubstr buf, parse_only_vec3< T > *v)

(6) template <class T>
    bool from_chars(ryml::csubstr buf, parse_only_vec4< T > *v)

Function overload

Synopsis

#include <samples/quickstart.cpp>

template <class T>
bool from_chars(ryml::csubstr buf, vec2< T > *v)

Description

from_chars(): only needed for parsing

Mentioned in

Source

Lines 2524-2524 in samples/quickstart.cpp.

template<class T> bool from_chars(ryml::csubstr buf, vec2<T> *v) { size_t ret = ryml::unformat(buf, "({},{})", v->x, v->y); return ret != ryml::yml::npos; }

Synopsis

#include <samples/quickstart.cpp>

template <class T>
bool from_chars(ryml::csubstr buf, vec3< T > *v)

Description

No description yet.

Mentioned in

Source

Lines 2525-2525 in samples/quickstart.cpp.

template<class T> bool from_chars(ryml::csubstr buf, vec3<T> *v) { size_t ret = ryml::unformat(buf, "({},{},{})", v->x, v->y, v->z); return ret != ryml::yml::npos; }

Synopsis

#include <samples/quickstart.cpp>

template <class T>
bool from_chars(ryml::csubstr buf, vec4< T > *v)

Description

No description yet.

Mentioned in

Source

Lines 2526-2526 in samples/quickstart.cpp.

template<class T> bool from_chars(ryml::csubstr buf, vec4<T> *v) { size_t ret = ryml::unformat(buf, "({},{},{},{})", v->x, v->y, v->z, v->w); return ret != ryml::yml::npos; }

Synopsis

#include <samples/quickstart.cpp>

template <class T>
bool from_chars(ryml::csubstr buf, parse_only_vec2< T > *v)

Description

No description yet.

Mentioned in

Source

Lines 2528-2528 in samples/quickstart.cpp.

template<class T> bool from_chars(ryml::csubstr buf, parse_only_vec2<T> *v) { size_t ret = ryml::unformat(buf, "({},{})", v->x, v->y); return ret != ryml::yml::npos; }

Synopsis

#include <samples/quickstart.cpp>

template <class T>
bool from_chars(ryml::csubstr buf, parse_only_vec3< T > *v)

Description

No description yet.

Mentioned in

Source

Lines 2529-2529 in samples/quickstart.cpp.

template<class T> bool from_chars(ryml::csubstr buf, parse_only_vec3<T> *v) { size_t ret = ryml::unformat(buf, "({},{},{})", v->x, v->y, v->z); return ret != ryml::yml::npos; }

Synopsis

#include <samples/quickstart.cpp>

template <class T>
bool from_chars(ryml::csubstr buf, parse_only_vec4< T > *v)

Description

No description yet.

Mentioned in

Source

Lines 2530-2530 in samples/quickstart.cpp.

template<class T> bool from_chars(ryml::csubstr buf, parse_only_vec4<T> *v) { size_t ret = ryml::unformat(buf, "({},{},{},{})", v->x, v->y, v->z, v->w); return ret != ryml::yml::npos; }





Add Discussion as Guest

Log in