l1_source_impl

Warning

doxygenfile: Cannot find file “eos/l1_source_impl.h

Type definitions in l1_source_impl

namespace eos
class l1_source_impl_t
#include <l1_source_impl.h>

L1 source class.

The interface id “port” should be defined only if l1 source type is port.

Public Functions

l1_source_impl_t()

Default constructor.

l1_source_impl_t(l1_source_type_t l1_source_type)

Constructor specifying only l1 source type.

l1_source_impl_t(l1_source_type_t l1_source_type, intf_id_t port)

Constructor specifying both l1 source type and interface id.

l1_source_type_t l1_source_type() const
void l1_source_type_is(l1_source_type_t l1_source_type)
intf_id_t port() const
void port_is(intf_id_t port)
bool operator==(l1_source_impl_t const & other) const
bool operator!=(l1_source_impl_t const & other) const
bool operator<(l1_source_impl_t const & other) const
uint32_t hash() const

The hash function for type l1_source_t.

void mix_me(hash_mix & h) const

The hash mix function for type l1_source_t.

std::string to_string() const

Returns a string representation of the current object’s values.

Private Members

l1_source_type_t l1_source_type_
intf_id_t port_

Friends

friend std::ostream & operator<<

A utility stream operator that adds a string representation of l1_source_t to the ostream.