hydrogen 1.1.1
Pattern.h File Reference

Data Structures

class  Pattern
 Pattern class is a Note container. More...
 

Namespaces

namespace  H2Core
 

Macros

#define FOREACH_NOTE_CST_IT_BEGIN_END(_notes, _it)    for( Pattern::notes_cst_it_t _it=(_notes)->begin(); (_it)!=(_notes)->end(); (_it)++ )
 
#define FOREACH_NOTE_CST_IT_BOUND(_notes, _it, _bound)    for( Pattern::notes_cst_it_t _it=(_notes)->lower_bound((_bound)); (_it)!=(_notes)->end() && (_it)->first == (_bound); (_it)++ )
 
#define FOREACH_NOTE_IT_BEGIN_END(_notes, _it)    for( Pattern::notes_it_t _it=(_notes)->begin(); (_it)!=(_notes)->end(); (_it)++ )
 
#define FOREACH_NOTE_IT_BOUND(_notes, _it, _bound)    for( Pattern::notes_it_t _it=(_notes)->lower_bound((_bound)); (_it)!=(_notes)->end() && (_it)->first == (_bound); (_it)++ )
 

Macro Definition Documentation

◆ FOREACH_NOTE_CST_IT_BEGIN_END

#define FOREACH_NOTE_CST_IT_BEGIN_END (   _notes,
  _it 
)     for( Pattern::notes_cst_it_t _it=(_notes)->begin(); (_it)!=(_notes)->end(); (_it)++ )

◆ FOREACH_NOTE_CST_IT_BOUND

#define FOREACH_NOTE_CST_IT_BOUND (   _notes,
  _it,
  _bound 
)     for( Pattern::notes_cst_it_t _it=(_notes)->lower_bound((_bound)); (_it)!=(_notes)->end() && (_it)->first == (_bound); (_it)++ )

◆ FOREACH_NOTE_IT_BEGIN_END

#define FOREACH_NOTE_IT_BEGIN_END (   _notes,
  _it 
)     for( Pattern::notes_it_t _it=(_notes)->begin(); (_it)!=(_notes)->end(); (_it)++ )

◆ FOREACH_NOTE_IT_BOUND

#define FOREACH_NOTE_IT_BOUND (   _notes,
  _it,
  _bound 
)     for( Pattern::notes_it_t _it=(_notes)->lower_bound((_bound)); (_it)!=(_notes)->end() && (_it)->first == (_bound); (_it)++ )