Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::place_parts::tokenizer Class Reference

Classes

struct  error
 

Public Types

enum  token {
  token::div_start, token::div_end, token::splitter, token::identifier,
  token::dock, token::fit, token::hfit, token::vfit,
  token::vert, token::grid, token::number, token::array,
  token::reparray, token::weight, token::width, token::height,
  token::gap, token::margin, token::arrange, token::variable,
  token::repeated, token::min_px, token::max_px, token::left,
  token::right, token::top, token::bottom, token::undisplayed,
  token::invisible, token::switchable, token::collapse, token::parameters,
  token::equal, token::eof, token::error
}
 

Public Member Functions

 tokenizer (const char *div_text) noexcept
 
const std::stringidstr () const noexcept
 
const number_tnumber () const noexcept
 
std::vector< number_t > & array () noexcept
 
repeated_array && reparray () noexcept
 
std::vector< number_t > & parameters () noexcept
 
std::string::size_type pos () const noexcept
 
token read ()
 

Member Enumeration Documentation

Enumerator
div_start 
div_end 
splitter 
identifier 
dock 
fit 
hfit 
vfit 
vert 
grid 
number 
array 
reparray 
weight 
width 
height 
gap 
margin 
arrange 
variable 
repeated 
min_px 
max_px 
left 
right 
top 
bottom 
undisplayed 
invisible 
switchable 
collapse 
parameters 
equal 
eof 
error 

Constructor & Destructor Documentation

nana::place_parts::tokenizer::tokenizer ( const char *  div_text)
inlinenoexcept

Member Function Documentation

std::vector<number_t>& nana::place_parts::tokenizer::array ( )
inlinenoexcept
const std::string& nana::place_parts::tokenizer::idstr ( ) const
inlinenoexcept
const number_t& nana::place_parts::tokenizer::number ( ) const
inlinenoexcept
std::vector<number_t>& nana::place_parts::tokenizer::parameters ( )
inlinenoexcept
std::string::size_type nana::place_parts::tokenizer::pos ( ) const
inlinenoexcept
token nana::place_parts::tokenizer::read ( )
inline
repeated_array&& nana::place_parts::tokenizer::reparray ( )
inlinenoexcept