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

#include <dim_type.hpp>

Public Member Functions

 dimIndex_value (const std::string &s, size_t f, size_t e)
 value More...
 
 dimIndex_value (int value, const std::string &s, size_t f, size_t e, size_t f2, size_t e2)
 for first number More...
 
 dimIndex_value (int value)
 for number More...
 
bool operator== (string_ref s) const noexcept
 
bool operator!= (string_ref s) const noexcept
 

Public Attributes

std::string str
 dimIndex text More...
 
std::string original
 
bool has_original
 flag for original. More...
 

Detailed Description

Each string decomposing dimIndex.

See also
dimIndex

Definition at line 46 of file dim_type.hpp.

Constructor & Destructor Documentation

◆ dimIndex_value() [1/3]

nodamushi::svd::dimIndex_value::dimIndex_value ( const std::string &  s,
size_t  f,
size_t  e 
)
inline

value

Definition at line 49 of file dim_type.hpp.

◆ dimIndex_value() [2/3]

nodamushi::svd::dimIndex_value::dimIndex_value ( int  value,
const std::string &  s,
size_t  f,
size_t  e,
size_t  f2,
size_t  e2 
)
inline

for first number

Definition at line 52 of file dim_type.hpp.

◆ dimIndex_value() [3/3]

nodamushi::svd::dimIndex_value::dimIndex_value ( int  value)
inline

for number

Definition at line 62 of file dim_type.hpp.

Member Function Documentation

◆ operator!=()

bool nodamushi::svd::dimIndex_value::operator!= ( string_ref  s) const
inlinenoexcept

Definition at line 81 of file dim_type.hpp.

◆ operator==()

bool nodamushi::svd::dimIndex_value::operator== ( string_ref  s) const
inlinenoexcept

Definition at line 80 of file dim_type.hpp.

Member Data Documentation

◆ has_original

bool nodamushi::svd::dimIndex_value::has_original

flag for original.

Definition at line 91 of file dim_type.hpp.

◆ original

std::string nodamushi::svd::dimIndex_value::original

original text of sequence number. (xxx-yyy) this member is enable when has_original is true. However, except for the number of the first sequence, this string is empty.

Definition at line 90 of file dim_type.hpp.

◆ str

std::string nodamushi::svd::dimIndex_value::str

dimIndex text

Definition at line 84 of file dim_type.hpp.


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