ztsdb
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
arr::Index Struct Reference

Public Types

enum  IdxType {
  it_null, it_int, it_int_neg, it_names,
  it_bool, it_dtime, it_interval
}
 
typedef Variant< NullIndex, IntIndex, IntIndexNeg, NameIndex, BoolIndex, DtimeIndex, IntervalIndexVIdx
 

Public Member Functions

 Index (const NullIndex &i)
 
 Index (const IntIndex &i)
 
 Index (const IntIndexNeg &i)
 
 Index (const NameIndex &i)
 
 Index (const BoolIndex &i)
 
 Index (const DtimeIndex &i)
 
 Index (const IntervalIndex &i)
 
size_t trueSize () const
 
size_t size () const
 
bool getfirst (idx_type &val, idx_type &ii) const
 
bool getnext (idx_type &val, idx_type &ii) const
 
template<typename T >
void subset (Vector< T > &rv, const Vector< T > &v) const
 
template<typename T >
void subset (Vector< T > &rv, const Vector< T > &v, idx_type &ii, idx_type &iv, idx_type pos) const
 
template<typename T , typename U >
void subassign (Vector< T > &rv, const U &v, idx_type &vj) const
 
template<typename T , typename U >
void subassignScalar (Vector< T > &rv, U u) const
 
void selectNames (Dname &tonames, const Dname &fromnames) const
 

Static Public Member Functions

static bool getfirstcol (idx_type &col, vector< idx_type > &val, vector< idx_type > &pi, const vector< Index > &i, const Vector< idx_type > &dim)
 
static bool getnextcol (idx_type &col, vector< idx_type > &val, vector< idx_type > &pi, const vector< Index > &i, const Vector< idx_type > &dim)
 

Public Attributes

VIdx idx
 

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