Awali
Another Weighted Automata library
Public Member Functions | Protected Attributes
awali::json::uint_or_string_t Class Reference

#include <node.hh>

Public Member Functions

 uint_or_string_t (char const *s)
 
 uint_or_string_t (std::string s)
 
 uint_or_string_t (uint_or_string_t &&uos)
 
 uint_or_string_t (uint_or_string_t const &uos)
 
 uint_or_string_t (unsigned integer)
 
unsigned integer () const
 
bool is_integer () const
 
bool is_string () const
 
 operator std::string () const
 
 operator std::string & ()
 
 operator unsigned () const
 
uint_or_string_toperator= (uint_or_string_t &&uos)
 
uint_or_string_toperator= (uint_or_string_t const &uos)
 
std::string const & string () const
 

Protected Attributes

long i
 
std::string str
 

Constructor & Destructor Documentation

◆ uint_or_string_t() [1/5]

awali::json::uint_or_string_t::uint_or_string_t ( unsigned  integer)

◆ uint_or_string_t() [2/5]

awali::json::uint_or_string_t::uint_or_string_t ( std::string  s)

◆ uint_or_string_t() [3/5]

awali::json::uint_or_string_t::uint_or_string_t ( uint_or_string_t const &  uos)

◆ uint_or_string_t() [4/5]

awali::json::uint_or_string_t::uint_or_string_t ( uint_or_string_t &&  uos)

◆ uint_or_string_t() [5/5]

awali::json::uint_or_string_t::uint_or_string_t ( char const *  s)

Member Function Documentation

◆ integer()

unsigned awali::json::uint_or_string_t::integer ( ) const

◆ is_integer()

bool awali::json::uint_or_string_t::is_integer ( ) const

◆ is_string()

bool awali::json::uint_or_string_t::is_string ( ) const

◆ operator std::string()

awali::json::uint_or_string_t::operator std::string ( ) const

◆ operator std::string &()

awali::json::uint_or_string_t::operator std::string & ( )

◆ operator unsigned()

awali::json::uint_or_string_t::operator unsigned ( ) const

◆ operator=() [1/2]

uint_or_string_t& awali::json::uint_or_string_t::operator= ( uint_or_string_t &&  uos)

◆ operator=() [2/2]

uint_or_string_t& awali::json::uint_or_string_t::operator= ( uint_or_string_t const &  uos)

◆ string()

std::string const& awali::json::uint_or_string_t::string ( ) const

Field Documentation

◆ i

long awali::json::uint_or_string_t::i
protected

◆ str

std::string awali::json::uint_or_string_t::str
protected

The documentation for this class was generated from the following file: