SST/macro
Public Types | Public Member Functions | Private Attributes | List of all members
sstmac::hw::index_subset Class Reference

#include <index_subset.h>

Collaboration diagram for sstmac::hw::index_subset:
Collaboration graph

Public Types

typedef std::vector< int >::iterator iterator
 

Public Member Functions

std::string to_string () const
 
iterator begin ()
 
iterator end ()
 
void push_back (int idx)
 
void clear ()
 
size_t size () const
 
std::vector< int > & data ()
 

Private Attributes

std::vector< int > subset_
 

Detailed Description

Definition at line 9 of file index_subset.h.

Member Typedef Documentation

typedef std::vector<int>::iterator sstmac::hw::index_subset::iterator

Definition at line 11 of file index_subset.h.

Member Function Documentation

iterator sstmac::hw::index_subset::begin ( )
inline

Definition at line 20 of file index_subset.h.

References subset_.

void sstmac::hw::index_subset::clear ( )
inline

Definition at line 35 of file index_subset.h.

References subset_.

std::vector<int>& sstmac::hw::index_subset::data ( )
inline

Definition at line 45 of file index_subset.h.

References subset_.

iterator sstmac::hw::index_subset::end ( )
inline

Definition at line 25 of file index_subset.h.

References subset_.

void sstmac::hw::index_subset::push_back ( int  idx)
inline

Definition at line 30 of file index_subset.h.

References subset_.

size_t sstmac::hw::index_subset::size ( ) const
inline

Definition at line 40 of file index_subset.h.

References subset_.

std::string sstmac::hw::index_subset::to_string ( ) const
inline

Definition at line 15 of file index_subset.h.

Member Data Documentation

std::vector<int> sstmac::hw::index_subset::subset_
private

Definition at line 50 of file index_subset.h.

Referenced by begin(), clear(), data(), end(), push_back(), and size().


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