5 #ifndef __NODAMUSHI_SVD_NORMALIZED_DIM_INFO_HPP__ 6 #define __NODAMUSHI_SVD_NORMALIZED_DIM_INFO_HPP__ 62 case dt::NON:o <<
"non" ;
break;
63 case dt::SEQ:o <<
"seq" ;
break;
64 case dt::ARRAY:o <<
"array";
break;
68 ostream&
operator<<(ostream& o,const ::nodamushi::svd::normalized::dim_info& d)
72 if(d.type == dt::NON){
73 o <<
"[dim:non:id="<<d.id<<
"]";
75 o <<
"[dim:" << d.type <<
":i="<<d.index<<
":length="<<d.length<<
":id="<<d.id<<
"]";
82 #endif // __NODAMUSHI_SVD_NORMALIZED_DIM_INFO_HPP__ ostream & operator<<(std::ostream &os, const ::nodamushi::svd::Access &value)
dim_type type
array or seq or non
dim_type
Array or Sequence or not.
constexpr bool is_last() const noexcept
is the index is the last index
constexpr bool is_array() const noexcept
is the dimension type array
id_t id
dimension group id.this value is unique in the parent.
constexpr bool is_first() const noexcept
is the index is 0
dim,dimIndex,array information object.
size_t length
dimension length
constexpr bool is_seq() const noexcept
is the dimension type sequence