ztsdb
Public Member Functions | Public Attributes | List of all members
arr::IntervalIndex Struct Reference

#include <index.hpp>

Public Member Functions

bool getfirst (idx_type &val, idx_type &i) const
 
bool getnext (idx_type &val, idx_type &i) const
 
size_t trueSize () const
 
size_t size () const
 
template<typename T >
void subset (Vector< T > &rv, const Vector< T > &v) const
 
template<typename T , typename U >
void subassign (Vector< T > &rv, const U &u, 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
 

Public Attributes

const Vector< tz::interval > & idx
 
const Vector< Global::dtime > & vi
 

Detailed Description

Provides the indexing into a 'Global::dtime' vector with an interval index. That's the only thing we allow an interval to index into. In particular, the indexing into an interval vector is not provided because the elements of this interval vector would not only be selected, they would actually change, thus changing the semantics of indexing.


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