Class FastOpt

Class Documentation

class FastOpt

Public Types

enum NodeType

Values:

Null
Bool
Int64
Float64
String
Sequence
Map

Public Functions

FastOpt(const YAML::Node &node)
FastOpt(const YAML::Node &node, uint64_t fingerprint)
bool isSequence() const
bool isMap() const
bool isScalar() const
bool isNull() const
bool isInt() const
bool isBool() const
bool isFloat() const
bool isString() const
size_t size() const
void swap(FastOpt &other)
bool has(uint64_t keyId) const
bool has(const char *const key) const
bool has(const std::string &key) const
template<typename T>
T as() const
const FastOpt &operator[](uint64_t keyId) const
const FastOpt &operator[](int key) const
const FastOpt &operator[](const char *const key) const
const FastOpt &operator[](const std::string &key) const

Friends

friend marian::FastOpt::fastopt_helpers::As