NSVD Reader  0.0.1
nodamushi::svd::dimIndex Struct Reference

#include <dim_type.hpp>

Public Member Functions

 dimIndex ()
 
dimIndexoperator= (const char *str)
 
dimIndexoperator= (const std::string &text)
 
const std::vector< dimIndex_value > & get () const
 
const std::string & at (int index) const
 
size_t length () const noexcept
 
size_t size () const noexcept
 
const std::string & operator[] (size_t i) const noexcept
 
 operator bool () const noexcept
 
void append (std::string &dst, size_t index) const
 
bool contains (string_ref s) const noexcept
 

Static Public Member Functions

static bool is_white_space (char c)
 

Detailed Description

Constructor & Destructor Documentation

◆ dimIndex()

nodamushi::svd::dimIndex::dimIndex ( )
inline

Definition at line 100 of file dim_type.hpp.

Member Function Documentation

◆ append()

void nodamushi::svd::dimIndex::append ( std::string &  dst,
size_t  index 
) const
inline

Append index text to dst. If index >= size, append number text.

Parameters
dsttarget
indexindex

Definition at line 258 of file dim_type.hpp.

◆ at()

const std::string& nodamushi::svd::dimIndex::at ( int  index) const
inline

Definition at line 247 of file dim_type.hpp.

◆ contains()

bool nodamushi::svd::dimIndex::contains ( string_ref  s) const
inlinenoexcept
Parameters
stext
Returns
contains text s

Definition at line 266 of file dim_type.hpp.

◆ get()

const std::vector<dimIndex_value>& nodamushi::svd::dimIndex::get ( ) const
inline

Definition at line 246 of file dim_type.hpp.

◆ is_white_space()

static bool nodamushi::svd::dimIndex::is_white_space ( char  c)
inlinestatic

Definition at line 103 of file dim_type.hpp.

◆ length()

size_t nodamushi::svd::dimIndex::length ( ) const
inlinenoexcept

Definition at line 248 of file dim_type.hpp.

◆ operator bool()

nodamushi::svd::dimIndex::operator bool ( ) const
inlinenoexcept

Definition at line 251 of file dim_type.hpp.

◆ operator=() [1/2]

dimIndex& nodamushi::svd::dimIndex::operator= ( const char *  str)
inline

Definition at line 113 of file dim_type.hpp.

◆ operator=() [2/2]

dimIndex& nodamushi::svd::dimIndex::operator= ( const std::string &  text)
inline

Definition at line 131 of file dim_type.hpp.

◆ operator[]()

const std::string& nodamushi::svd::dimIndex::operator[] ( size_t  i) const
inlinenoexcept

Definition at line 250 of file dim_type.hpp.

◆ size()

size_t nodamushi::svd::dimIndex::size ( ) const
inlinenoexcept

Definition at line 249 of file dim_type.hpp.


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