Independent helper tools. More...
Namespaces | |
| namespace | end |
| namespace | internals |
| namespace | lr |
Classes | |
| struct | types< filter::anonymizer< I, P, A, B > > |
| struct | types< filter::internals::anonymizer_iterator< I, P, A, B1, B2 > > |
| struct | types< wpl::filter::internals::fast_intersector_iterator< I1, I2, B1, B2 > > |
| struct | types< wpl::filter::fast_intersector< I1, I2, B > > |
| struct | types< wpl::filter::internals::lr_sync_iterator< I, B1, B2 > > |
| struct | types< wpl::filter::linear_regression_synchronizer< I, B > > |
| struct | types< wpl::filter::internals::non_noisy_prism_iterator< I, B1, B2 > > |
| Virtual types for wifi::frame::filter::internals::non_noisy_prism_iterator. More... | |
| struct | types< wpl::filter::non_noisy_prism< I, B > > |
| Virtual types for wifi::frame::filter::non_noisy_prism. More... | |
| struct | types< WP_wf::reference_blacklist< I, B > > |
| struct | types< wpl::filter::internals::time_adjuster_iterator< I1, I2, HT, B1, B2 > > |
| struct | types< wpl::filter::time_adjuster< I1, I2, HT, B > > |
| struct | types< filter::internals::timetracker_iterator< I, HT, B1, B2 > > |
| struct | types< filter::timetracker< I, HT, B > > |
| struct | types< wpl::filter::internals::uniquely_identifiable_iterator< U, I, H, B1, B2 > > |
| Virtual types for wifi::frame::filter::internals::uniquely_identifiable_iterator. More... | |
| struct | types< wpl::filter::uniquely_identifiable< U, I, H, B > > |
| Virtual types for wifi::frame::filter::uniquely_identifiable. More... | |
| struct | types< wpl::filter::internals::windowed_merge_iterator< HT, I1, I2, B1, B2 > > |
| struct | types< wpl::filter::windowed_merge< HT, I1, I2, B > > |
| struct | types< pcap::internals::file_iterator< S, B > > |
| struct | types< pcap::list< S, B > > |
| struct | types< pcap::file< B > > |
| struct | types< pcap::indexed_file< B > > |
| struct | types< avs::header > |
| struct | types< phy::empty_time< B > > |
| struct | types< phy::empty_header< B > > |
| struct | types< phy::time< B > > |
| struct | types< phy::uint64_time< B > > |
| struct | types< phy::header< B > > |
| struct | types< prism::time > |
| struct | types< prism::header > |
| struct | types< rtap::header > |
| struct | addr |
| Generic network address. More... | |
| struct | datafile |
| Output file which creation/opening is delayed until the first output. More... | |
| struct | user_interruption |
| Exception: user manually interrupted execution. More... | |
| struct | file_error |
| Exception: a file-related operation failed. More... | |
| struct | read_error |
| Exception: read failed. More... | |
| struct | write_error |
| Exception: write failed. More... | |
| struct | seek_error |
| Exception: seek failed. More... | |
| struct | bad_file |
| Exception: file contains invalid/inconsistent data. More... | |
| struct | types< internals::filter_iterator< I, P, B1, B2 > > |
| struct | types< filter< I, P, B > > |
| struct | filter |
| struct | types< iterable< B > > |
| Virtual types for iterable. More... | |
| struct | iterable |
| Base class to represent iterable objects. More... | |
| struct | types< iterator< B > > |
| Virtual types for iterator. More... | |
| struct | iterator |
| Base interface for iterators. More... | |
| struct | less_using_second |
Binary functor that returns lhs->second < rhs->second. More... | |
| struct | types< list_of_iterables_iterator< T, B, Bottom > > |
| struct | types< list_of_iterables< T, B > > |
| struct | list_of_iterables_iterator |
| struct | list_of_iterables |
| struct | mapping |
| Mapping from designed to be stored into a database file. More... | |
| struct | microseconds |
| Represent an arbitrary number of microseconds. More... | |
| struct | microseconds_stamp |
| Mixin class to add a microsecond count to an existing class. More... | |
| struct | bottom |
| Static hierarchy terminator. More... | |
| struct | undefined_type |
| Undefined virtual type for type traits. More... | |
| struct | get_exact |
| Get an exact type given a type and its Bottom parameter. More... | |
| struct | get_exact< bottom, Up > |
| Template specialization to make get_exact work. More... | |
| struct | static_base |
| Base class of all static hierachies. More... | |
| struct | types |
| Virual types for static hierarchies . More... | |
| struct | types< valued_iterator< B > > |
| Virtual types for valued_iterator. More... | |
| struct | valued_iterator |
| Iterator which embeds its value. More... | |
| struct | types< window< I, Ws, S, B > > |
| Virtual types for window. More... | |
| struct | types< window_maker< I, Ws, S, B > > |
| Virtual types for window_maker. More... | |
| struct | window |
| Sliding window. More... | |
| struct | window_maker |
| Iterable object that builds windows over a sequence. More... | |
Typedefs | |
| typedef internals::SI_unit< 1 > | b |
| typedef internals::SI_unit< 1000 > | kb |
| typedef internals::SI_unit< 1024 > | Kib |
| typedef internals::SI_unit< 1000000 > | Mb |
| typedef internals::SI_unit< 1048576 > | Mib |
| typedef internals::SI_unit< 8 > | B |
| typedef internals::SI_unit< 8000 > | kB |
| typedef internals::SI_unit< 8192 > | KiB |
| typedef internals::SI_unit< 8000000 > | MB |
| typedef internals::SI_unit< 8388608 > | MiB |
Functions | |
| template<class VT , unsigned N, bool HN, char SN> | |
| std::ostream & | operator<< (std::ostream &os, const addr< VT, N, HN, SN > &a) |
| template<class VT , unsigned N, bool HN, char SN> | |
| std::istream & | operator>> (std::istream &is, addr< VT, N, HN, SN > &a) |
| template<class VT , unsigned N, bool HN, char SN> | |
| std::string | make_string (const addr< VT, N, HN, SN > &a) |
| bool | need_swap (end::endianness tag, bool guess_swap) |
| uint16_t | extract_unswapped_short_u (const void *p) |
| uint16_t | extract_swapped_short_u (const uint16_t s) |
| uint16_t | extract_swapped_short_u (const void *p) |
| uint16_t | extract_short_u (const void *p, bool swapped) |
| uint16_t | extract_short_u (const uint16_t s, bool swapped) |
| uint16_t | extract_big_endian_short_u (const void *p) |
| uint16_t | extract_big_endian_short_u (const uint16_t s) |
| uint16_t | extract_little_endian_short_u (const void *p) |
| uint16_t | extract_little_endian_short_u (const uint16_t s) |
| uint32_t | extract_unswapped_long_u (const void *p) |
| uint32_t | extract_swapped_long_u (const uint32_t l) |
| uint32_t | extract_swapped_long_u (const void *p) |
| uint32_t | extract_long_u (const void *p, bool swapped) |
| uint32_t | extract_long_u (const uint32_t l, bool swapped) |
| uint32_t | extract_big_endian_long_u (const void *p) |
| uint32_t | extract_big_endian_long_u (const uint32_t l) |
| uint32_t | extract_little_endian_long_u (const void *p) |
| uint32_t | extract_little_endian_long_u (const uint32_t l) |
| int32_t | extract_unswapped_long_s (const void *p) |
| int32_t | extract_swapped_long_s (const int32_t l) |
| int32_t | extract_swapped_long_s (const void *p) |
| int32_t | extract_long_s (const void *p, bool swapped) |
| int32_t | extract_long_s (const int32_t l, bool swapped) |
| int32_t | extract_big_endian_long_s (const void *p) |
| int32_t | extract_big_endian_long_s (const int32_t l) |
| int32_t | extract_little_endian_long_s (const void *p) |
| int32_t | extract_little_endian_long_s (const int32_t l) |
| mpz_class | mpz_of_uint64 (uint64_t) |
| uint64_t | uint64_of_mpz (const mpz_class) |
| template<class ImplType , class Adapter , class InputIterator > | |
| std::pair< ImplType, ImplType > | linear_regression (const InputIterator &start, const InputIterator &last, Adapter adapt=Adapter()) |
| bool | eq_timeval (const struct timeval &lhs, const struct timeval &rhs, const unsigned prec=0) |
Variables | |
| struct wpl::tool::addr | __packed__ |
Independent helper tools.
| typedef internals::SI_unit<8> wpl::tool::B |
Bytes.
| typedef internals::SI_unit<1> wpl::tool::b |
Bits.
| typedef internals::SI_unit<8000> wpl::tool::kB |
Kilobytes.
| typedef internals::SI_unit<1000> wpl::tool::kb |
Kilobits.
| typedef internals::SI_unit<8192> wpl::tool::KiB |
Kibibytes.
| typedef internals::SI_unit<1024> wpl::tool::Kib |
Kibibits.
| typedef internals::SI_unit<8000000> wpl::tool::MB |
Megabytes.
| typedef internals::SI_unit<1000000> wpl::tool::Mb |
Megabits.
| typedef internals::SI_unit<8388608> wpl::tool::MiB |
Mebibytes.
| typedef internals::SI_unit<1048576> wpl::tool::Mib |
Mebibits.
| bool wpl::tool::eq_timeval | ( | const struct timeval & | lhs, | |
| const struct timeval & | rhs, | |||
| const unsigned | prec = 0 | |||
| ) | [inline] |
Compare timeval values.
Return whether the two timestamps are equals. When the time difference between each value is lower or equal than prec microseconds, then consider the values are equal.
| int32_t wpl::tool::extract_little_endian_long_s | ( | const void * | p | ) | [inline] |
Consider p as a pointer to little-endian unsigned longs and return *p.
| uint32_t wpl::tool::extract_little_endian_long_u | ( | const void * | p | ) | [inline] |
Consider p as a pointer to little-endian unsigned longs and return *p.
| uint16_t wpl::tool::extract_little_endian_short_u | ( | const void * | p | ) | [inline] |
Consider p as a pointer to little-endian unsigned shorts and return *p.
| int32_t wpl::tool::extract_swapped_long_s | ( | const void * | p | ) | [inline] |
Consider p as a pointer to endian-swapped unsigned longs and return *p.
| uint32_t wpl::tool::extract_swapped_long_u | ( | const void * | p | ) | [inline] |
Consider p as a pointer to endian-swapped unsigned longs and return *p.
| uint16_t wpl::tool::extract_swapped_short_u | ( | const void * | p | ) | [inline] |
Consider p as a pointer to endian-swapped unsigned shorts and return *p.
| std::pair< ImplType, ImplType > wpl::tool::linear_regression | ( | const InputIterator & | start, | |
| const InputIterator & | last, | |||
| Adapter | adapt = Adapter () | |||
| ) | [inline] |
Perform a linear regression.
Input data is provided by start and last. adapt is a function object containing both a x() and y() method which respectively convert an instance of InputIterator::value_type into its x and y components.
| bool wpl::tool::need_swap | ( | end::endianness | tag, | |
| bool | guess_swap | |||
| ) | [inline] |
Return true when conversion from tag to the host byte order needs a swap.
If tag is endian::guess then return guess_swap.
Generic network address.
Protocol-agnostic network address, considered as a sequence of N values of type ValueType. For instance, IPv4 addresses are 4 uint8_t, MAC addresses are 6 uint8_t, and IPv6 addresses are 8 uint16_t. HexNotation indicates whether the address' string representation uses hexadecimal or decimal values. SepNotation is the character one should use to separate bytes in the string representation.
1.6.2