Skip to content

Struct Ase::OrderedEventList

template <class Event, class CompareOrder>

ClassList > Ase > OrderedEventList

Container for a sorted array of opaque Event structures with binary lookup.

  • #include <eventlist.hh>

Inherits the following classes: std::vector< Event >

Public Types

Type Name
typedef std::vector< Event > Base
typedef std::shared_ptr< const OrderedEventList > ConstP

Public Functions

Type Name
OrderedEventList (const std::vector< Event > & ve)
const Event * lookup (const Event & event) const
const Event * lookup_after (const Event & event) const

Public Types Documentation

typedef Base

using Ase::OrderedEventList< Event, CompareOrder >::Base =  std::vector<Event>;

typedef ConstP

using Ase::OrderedEventList< Event, CompareOrder >::ConstP =  std::shared_ptr<const OrderedEventList>;

Public Functions Documentation

function OrderedEventList

explicit Ase::OrderedEventList::OrderedEventList (
    const std::vector< Event > & ve
) 

function lookup

inline const Event * Ase::OrderedEventList::lookup (
    const Event & event
) const

function lookup_after

inline const Event * Ase::OrderedEventList::lookup_after (
    const Event & event
) const


The documentation for this class was generated from the following file /__w/anklang/anklang/ase/eventlist.hh