pmt
pmt::comparator
pmt::exception
pmt::notimplemented
pmt::out_of_range
pmt::pmt_base
pmt::pmt_pool
pmt::wrong_type
std::shared_ptr< pmt_base > typedef std::shared_ptr<pmt_base> pmt::pmt_t pmt_t pmt::pmt_t

typedef for shared pointer (transparent reference counting).

PMT_API pmt_t PMT_API pmt_t pmt::get_PMT_NIL () get_PMT_NIL pmt::get_PMT_NIL PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::get_PMT_T () get_PMT_T pmt::get_PMT_T PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::get_PMT_F () get_PMT_F pmt::get_PMT_F PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::get_PMT_EOF () get_PMT_EOF pmt::get_PMT_EOF PMT_API
PMT_API bool PMT_API bool pmt::is_bool (pmt_t obj) is_bool pmt::is_bool pmt_t obj

Return true if obj is #t or #f, else return false.

PMT_API
PMT_API bool PMT_API bool pmt::is_true (pmt_t obj) is_true pmt::is_true pmt_t obj

Return false if obj is #f, else return true.

PMT_API
PMT_API bool PMT_API bool pmt::is_false (pmt_t obj) is_false pmt::is_false pmt_t obj

Return true if obj is #f, else return true.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::from_bool (bool val) from_bool pmt::from_bool bool val

Return #f is val is false, else return #t.

PMT_API
PMT_API bool PMT_API bool pmt::to_bool (pmt_t val) to_bool pmt::to_bool pmt_t val

Return true if val is pmt::True, return false when val is pmt::PMT_F,.

PMT_API
rpcbasic_extractor< T, bool >::post
PMT_API bool PMT_API bool pmt::is_symbol (const pmt_t &obj) is_symbol pmt::is_symbol const pmt_t & obj

Return true if obj is a symbol, else false.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::string_to_symbol (const std::string &s) string_to_symbol pmt::string_to_symbol const std::string & s

Return the symbol whose name is `s`.

PMT_API
mp
mp
PMT_API pmt_t PMT_API pmt_t pmt::intern (const std::string &s) intern pmt::intern const std::string & s

Alias for pmt_string_to_symbol.

PMT_API
gr::basic_block::alias_pmt
gr::blocks::tags_strobe::make
rpcbasic_register_get< T, Tfrom >::rpcbasic_register_get
rpcbasic_register_get< T, Tfrom >::rpcbasic_register_get
rpcbasic_register_handler< T >::rpcbasic_register_handler
rpcbasic_register_set< T, Tto >::rpcbasic_register_set
rpcbasic_register_trigger< T >::rpcbasic_register_trigger
PMT_API const std::string PMT_API const std::string pmt::symbol_to_string (const pmt_t &sym) symbol_to_string pmt::symbol_to_string const pmt_t & sym

If `is` a symbol, return the name of the symbol as a string. Otherwise, raise the wrong_type exception.

PMT_API
gr::msg_endpoint::identifier
rpcbasic_extractor< T, std::string >::post
PMT_API bool PMT_API bool pmt::is_number (pmt_t obj) is_number pmt::is_number pmt_t obj

Return true if obj is any kind of number, else false.

PMT_API
PMT_API bool PMT_API bool pmt::is_integer (pmt_t x) is_integer pmt::is_integer pmt_t x

Return true if `x` is an integer number, else false.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::from_long (long x) from_long pmt::from_long long x

Return the pmt value that represents the integer `x`.

PMT_API
mp
mp
PMT_API long PMT_API long pmt::to_long (pmt_t x) to_long pmt::to_long pmt_t x

Convert pmt to long if possible.

When `x` represents an exact integer that fits in a long, return that integer. Else raise an exception, either wrong_type when x is not an exact integer, or out_of_range when it doesn't fit.

PMT_API
rpcbasic_extractor< T, char >::post
rpcbasic_extractor< T, int >::post
rpcbasic_extractor< T, long >::post
rpcbasic_extractor< T, short >::post
PMT_API bool PMT_API bool pmt::is_uint64 (pmt_t x) is_uint64 pmt::is_uint64 pmt_t x

Return true if `x` is an uint64 number, else false.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::from_uint64 (uint64_t x) from_uint64 pmt::from_uint64 uint64_t x

Return the pmt value that represents the uint64 `x`.

PMT_API
mp
mp
rpcbasic_inserter< T, uint64_t >::retrieve
PMT_API uint64_t PMT_API uint64_t pmt::to_uint64 (pmt_t x) to_uint64 pmt::to_uint64 pmt_t x

Convert pmt to uint64 if possible.

When `x` represents an exact integer that fits in a uint64, return that uint64. Else raise an exception, either wrong_type when x is not an exact uint64, or out_of_range when it doesn't fit.

PMT_API
PMT_API bool PMT_API bool pmt::is_real (pmt_t obj) is_real pmt::is_real pmt_t obj PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::from_double (double x) from_double pmt::from_double double x

Return the pmt value that represents double `x`.

PMT_API
mp
PMT_API pmt_t PMT_API pmt_t pmt::from_float (float x) from_float pmt::from_float float x PMT_API
PMT_API double PMT_API double pmt::to_double (pmt_t x) to_double pmt::to_double pmt_t x

Convert pmt to double if possible.

Returns the number closest to `val` that is representable as a double. The argument `val` must be a real or integer, otherwise a wrong_type exception is raised.

PMT_API
rpcbasic_extractor< T, double >::post
rpcbasic_extractor< T, float >::post
PMT_API float PMT_API float pmt::to_float (pmt_t x) to_float pmt::to_float pmt_t x

Convert pmt to float if possible.

This basically is to_double() with a type-cast; the PMT stores the value as a double in any case. Use this when strict typing is required.

PMT_API
PMT_API bool PMT_API bool pmt::is_complex (pmt_t obj) is_complex pmt::is_complex pmt_t obj

return true if `obj` is a complex number, false otherwise.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_rectangular (double re, double im) make_rectangular pmt::make_rectangular double re double im

Return a complex number constructed of the given real and imaginary parts.

PMT_API
mp
mp
PMT_API pmt_t PMT_API pmt_t pmt::from_complex (double re, double im) from_complex pmt::from_complex double re double im

Return a complex number constructed of the given real and imaginary parts.

PMT_API
rpcbasic_inserter< T, std::complex< double > >::retrieve
rpcbasic_inserter< T, std::complex< float > >::retrieve
PMT_API pmt_t PMT_API pmt_t pmt::from_complex (const std::complex< double > &z) from_complex pmt::from_complex const std::complex< double > & z

Return a complex number constructed of the given a complex number.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::pmt_from_complex (double re, double im) pmt_from_complex pmt::pmt_from_complex double re double im

Return a complex number constructed of the given real and imaginary parts.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::pmt_from_complex (const std::complex< double > &z) pmt_from_complex pmt::pmt_from_complex const std::complex< double > & z

Return a complex number constructed of the given a complex number.

PMT_API
PMT_API std::complex< double > PMT_API std::complex< double > pmt::to_complex (pmt_t z) to_complex pmt::to_complex pmt_t z

If `z` is complex, real or integer, return the closest complex<double>. Otherwise, raise the wrong_type exception.

PMT_API
rpcbasic_extractor< T, std::complex< double > >::post
rpcbasic_extractor< T, std::complex< float > >::post
PMT_API bool PMT_API bool pmt::is_null (const pmt_t &x) is_null pmt::is_null const pmt_t & x

Return true if `x` is the empty list, otherwise return false.

PMT_API
PMT_API bool PMT_API bool pmt::is_pair (const pmt_t &obj) is_pair pmt::is_pair const pmt_t & obj

Return true if `obj` is a pair, else false (warning: also returns true for a dict).

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::cons (const pmt_t &x, const pmt_t &y) cons pmt::cons const pmt_t & x const pmt_t & y

Return a newly allocated pair whose car is `x` and whose cdr is `y`.

PMT_API
acons
PMT_API pmt_t PMT_API pmt_t pmt::car (const pmt_t &pair) car pmt::car const pmt_t & pair

If `pair` is a pair, return the car of the `pair`, otherwise raise wrong_type.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::cdr (const pmt_t &pair) cdr pmt::cdr const pmt_t & pair

If `pair` is a pair, return the cdr of the `pair`, otherwise raise wrong_type.

PMT_API
PMT_API void PMT_API void pmt::set_car (pmt_t pair, pmt_t value) set_car pmt::set_car pmt_t pair pmt_t value

Stores `value` in the car field of `pair`.

PMT_API
PMT_API void PMT_API void pmt::set_cdr (pmt_t pair, pmt_t value) set_cdr pmt::set_cdr pmt_t pair pmt_t value

Stores `value` in the cdr field of `pair`.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::caar (pmt_t pair) caar pmt::caar pmt_t pair PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::cadr (pmt_t pair) cadr pmt::cadr pmt_t pair PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::cdar (pmt_t pair) cdar pmt::cdar pmt_t pair PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::cddr (pmt_t pair) cddr pmt::cddr pmt_t pair PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::caddr (pmt_t pair) caddr pmt::caddr pmt_t pair PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::cadddr (pmt_t pair) cadddr pmt::cadddr pmt_t pair PMT_API
PMT_API bool PMT_API bool pmt::is_tuple (pmt_t x) is_tuple pmt::is_tuple pmt_t x

Return true if `x` is a tuple, otherwise false.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_tuple () make_tuple pmt::make_tuple PMT_API mp mp mp mp mp mp mp mp mp mp
PMT_API pmt_t PMT_API pmt_t pmt::make_tuple (const pmt_t &e0) make_tuple pmt::make_tuple const pmt_t & e0 PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_tuple (const pmt_t &e0, const pmt_t &e1) make_tuple pmt::make_tuple const pmt_t & e0 const pmt_t & e1 PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_tuple (const pmt_t &e0, const pmt_t &e1, const pmt_t &e2) make_tuple pmt::make_tuple const pmt_t & e0 const pmt_t & e1 const pmt_t & e2 PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_tuple (const pmt_t &e0, const pmt_t &e1, const pmt_t &e2, const pmt_t &e3) make_tuple pmt::make_tuple const pmt_t & e0 const pmt_t & e1 const pmt_t & e2 const pmt_t & e3 PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_tuple (const pmt_t &e0, const pmt_t &e1, const pmt_t &e2, const pmt_t &e3, const pmt_t &e4) make_tuple pmt::make_tuple const pmt_t & e0 const pmt_t & e1 const pmt_t & e2 const pmt_t & e3 const pmt_t & e4 PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_tuple (const pmt_t &e0, const pmt_t &e1, const pmt_t &e2, const pmt_t &e3, const pmt_t &e4, const pmt_t &e5) make_tuple pmt::make_tuple const pmt_t & e0 const pmt_t & e1 const pmt_t & e2 const pmt_t & e3 const pmt_t & e4 const pmt_t & e5 PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_tuple (const pmt_t &e0, const pmt_t &e1, const pmt_t &e2, const pmt_t &e3, const pmt_t &e4, const pmt_t &e5, const pmt_t &e6) make_tuple pmt::make_tuple const pmt_t & e0 const pmt_t & e1 const pmt_t & e2 const pmt_t & e3 const pmt_t & e4 const pmt_t & e5 const pmt_t & e6 PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_tuple (const pmt_t &e0, const pmt_t &e1, const pmt_t &e2, const pmt_t &e3, const pmt_t &e4, const pmt_t &e5, const pmt_t &e6, const pmt_t &e7) make_tuple pmt::make_tuple const pmt_t & e0 const pmt_t & e1 const pmt_t & e2 const pmt_t & e3 const pmt_t & e4 const pmt_t & e5 const pmt_t & e6 const pmt_t & e7 PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_tuple (const pmt_t &e0, const pmt_t &e1, const pmt_t &e2, const pmt_t &e3, const pmt_t &e4, const pmt_t &e5, const pmt_t &e6, const pmt_t &e7, const pmt_t &e8) make_tuple pmt::make_tuple const pmt_t & e0 const pmt_t & e1 const pmt_t & e2 const pmt_t & e3 const pmt_t & e4 const pmt_t & e5 const pmt_t & e6 const pmt_t & e7 const pmt_t & e8 PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_tuple (const pmt_t &e0, const pmt_t &e1, const pmt_t &e2, const pmt_t &e3, const pmt_t &e4, const pmt_t &e5, const pmt_t &e6, const pmt_t &e7, const pmt_t &e8, const pmt_t &e9) make_tuple pmt::make_tuple const pmt_t & e0 const pmt_t & e1 const pmt_t & e2 const pmt_t & e3 const pmt_t & e4 const pmt_t & e5 const pmt_t & e6 const pmt_t & e7 const pmt_t & e8 const pmt_t & e9 PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::to_tuple (const pmt_t &x) to_tuple pmt::to_tuple const pmt_t & x

If `x` is a vector or proper list, return a tuple containing the elements of x

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::tuple_ref (const pmt_t &tuple, size_t k) tuple_ref pmt::tuple_ref const pmt_t & tuple size_t k

Return the contents of position `k` of `tuple`. `k` must be a valid index of `tuple`.

PMT_API
PMT_API bool PMT_API bool pmt::is_vector (pmt_t x) is_vector pmt::is_vector pmt_t x

Return true if `x` is a vector, otherwise false.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_vector (size_t k, pmt_t fill) make_vector pmt::make_vector size_t k pmt_t fill

Make a vector of length `k`, with initial values set to `fill`.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::vector_ref (pmt_t vector, size_t k) vector_ref pmt::vector_ref pmt_t vector size_t k

Return the contents of position `k` of `vector`. `k` must be a valid index of `vector`.

PMT_API
PMT_API void PMT_API void pmt::vector_set (pmt_t vector, size_t k, pmt_t obj) vector_set pmt::vector_set pmt_t vector size_t k pmt_t obj

Store `obj` in position `k`.

PMT_API
PMT_API void PMT_API void pmt::vector_fill (pmt_t vector, pmt_t fill) vector_fill pmt::vector_fill pmt_t vector pmt_t fill

Store `fill` in every position of `vector`.

PMT_API
PMT_API bool PMT_API bool pmt::is_blob (pmt_t x) is_blob pmt::is_blob pmt_t x

Return true if `x` is a blob, otherwise false.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_blob (const void *buf, size_t len) make_blob pmt::make_blob const void * buf size_t len

Make a blob given a pointer and length in bytes.

buf

is the pointer to data to use to create blob

len

is the size of the data in bytes.

The data is copied into the blob.
PMT_API
mp
PMT_API const void * PMT_API const void * pmt::blob_data (pmt_t blob) blob_data pmt::blob_data pmt_t blob

Return a pointer to the blob's data.

PMT_API
PMT_API size_t PMT_API size_t pmt::blob_length (pmt_t blob) blob_length pmt::blob_length pmt_t blob

Return the blob's length in bytes.

PMT_API
PMT_API bool PMT_API bool pmt::is_uniform_vector (pmt_t x) is_uniform_vector pmt::is_uniform_vector pmt_t x

true if `x` is any kind of uniform numeric vector

Uniform Numeric Vectors A uniform numeric vector is a vector whose elements are all of single numeric type. pmt offers uniform numeric vectors for signed and unsigned 8-bit, 16-bit, 32-bit, and 64-bit integers, two sizes of floating point values, and complex floating-point numbers of these two sizes. Indexing is zero based. The names of the functions include these tags in their names: u8 unsigned 8-bit integers s8 signed 8-bit integers u16 unsigned 16-bit integers s16 signed 16-bit integers u32 unsigned 32-bit integers s32 signed 32-bit integers u64 unsigned 64-bit integers s64 signed 64-bit integers f32 the C++ type float f64 the C++ type double c32 the C++ type complex<float> c64 the C++ type complex<double>

PMT_API
PMT_API bool PMT_API bool pmt::is_u8vector (pmt_t x) is_u8vector pmt::is_u8vector pmt_t x PMT_API
PMT_API bool PMT_API bool pmt::is_s8vector (pmt_t x) is_s8vector pmt::is_s8vector pmt_t x PMT_API
PMT_API bool PMT_API bool pmt::is_u16vector (pmt_t x) is_u16vector pmt::is_u16vector pmt_t x PMT_API
PMT_API bool PMT_API bool pmt::is_s16vector (pmt_t x) is_s16vector pmt::is_s16vector pmt_t x PMT_API
PMT_API bool PMT_API bool pmt::is_u32vector (pmt_t x) is_u32vector pmt::is_u32vector pmt_t x PMT_API
PMT_API bool PMT_API bool pmt::is_s32vector (pmt_t x) is_s32vector pmt::is_s32vector pmt_t x PMT_API
PMT_API bool PMT_API bool pmt::is_u64vector (pmt_t x) is_u64vector pmt::is_u64vector pmt_t x PMT_API
PMT_API bool PMT_API bool pmt::is_s64vector (pmt_t x) is_s64vector pmt::is_s64vector pmt_t x PMT_API
PMT_API bool PMT_API bool pmt::is_f32vector (pmt_t x) is_f32vector pmt::is_f32vector pmt_t x PMT_API
PMT_API bool PMT_API bool pmt::is_f64vector (pmt_t x) is_f64vector pmt::is_f64vector pmt_t x PMT_API
PMT_API bool PMT_API bool pmt::is_c32vector (pmt_t x) is_c32vector pmt::is_c32vector pmt_t x PMT_API
PMT_API bool PMT_API bool pmt::is_c64vector (pmt_t x) is_c64vector pmt::is_c64vector pmt_t x PMT_API
PMT_API size_t PMT_API size_t pmt::uniform_vector_itemsize (pmt_t x) uniform_vector_itemsize pmt::uniform_vector_itemsize pmt_t x

item size in bytes if `x` is any kind of uniform numeric vector

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_u8vector (size_t k, uint8_t fill) make_u8vector pmt::make_u8vector size_t k uint8_t fill PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_s8vector (size_t k, int8_t fill) make_s8vector pmt::make_s8vector size_t k int8_t fill PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_u16vector (size_t k, uint16_t fill) make_u16vector pmt::make_u16vector size_t k uint16_t fill PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_s16vector (size_t k, int16_t fill) make_s16vector pmt::make_s16vector size_t k int16_t fill PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_u32vector (size_t k, uint32_t fill) make_u32vector pmt::make_u32vector size_t k uint32_t fill PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_s32vector (size_t k, int32_t fill) make_s32vector pmt::make_s32vector size_t k int32_t fill PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_u64vector (size_t k, uint64_t fill) make_u64vector pmt::make_u64vector size_t k uint64_t fill PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_s64vector (size_t k, int64_t fill) make_s64vector pmt::make_s64vector size_t k int64_t fill PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_f32vector (size_t k, float fill) make_f32vector pmt::make_f32vector size_t k float fill PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_f64vector (size_t k, double fill) make_f64vector pmt::make_f64vector size_t k double fill PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_c32vector (size_t k, std::complex< float > fill) make_c32vector pmt::make_c32vector size_t k std::complex< float > fill PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_c64vector (size_t k, std::complex< double > fill) make_c64vector pmt::make_c64vector size_t k std::complex< double > fill PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::init_u8vector (size_t k, const uint8_t *data) init_u8vector pmt::init_u8vector size_t k const uint8_t * data PMT_API rpcbasic_inserter< T, std::vector< uint8_t > >::retrieve
PMT_API pmt_t PMT_API pmt_t pmt::init_u8vector (size_t k, const std::vector< uint8_t > &data) init_u8vector pmt::init_u8vector size_t k const std::vector< uint8_t > & data PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::init_s8vector (size_t k, const int8_t *data) init_s8vector pmt::init_s8vector size_t k const int8_t * data PMT_API rpcbasic_inserter< T, std::vector< signed char > >::retrieve
PMT_API pmt_t PMT_API pmt_t pmt::init_s8vector (size_t k, const std::vector< int8_t > &data) init_s8vector pmt::init_s8vector size_t k const std::vector< int8_t > & data PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::init_u16vector (size_t k, const uint16_t *data) init_u16vector pmt::init_u16vector size_t k const uint16_t * data PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::init_u16vector (size_t k, const std::vector< uint16_t > &data) init_u16vector pmt::init_u16vector size_t k const std::vector< uint16_t > & data PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::init_s16vector (size_t k, const int16_t *data) init_s16vector pmt::init_s16vector size_t k const int16_t * data PMT_API rpcbasic_inserter< T, std::vector< short > >::retrieve
PMT_API pmt_t PMT_API pmt_t pmt::init_s16vector (size_t k, const std::vector< int16_t > &data) init_s16vector pmt::init_s16vector size_t k const std::vector< int16_t > & data PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::init_u32vector (size_t k, const uint32_t *data) init_u32vector pmt::init_u32vector size_t k const uint32_t * data PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::init_u32vector (size_t k, const std::vector< uint32_t > &data) init_u32vector pmt::init_u32vector size_t k const std::vector< uint32_t > & data PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::init_s32vector (size_t k, const int32_t *data) init_s32vector pmt::init_s32vector size_t k const int32_t * data PMT_API rpcbasic_inserter< T, std::vector< int > >::retrieve
PMT_API pmt_t PMT_API pmt_t pmt::init_s32vector (size_t k, const std::vector< int32_t > &data) init_s32vector pmt::init_s32vector size_t k const std::vector< int32_t > & data PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::init_u64vector (size_t k, const uint64_t *data) init_u64vector pmt::init_u64vector size_t k const uint64_t * data PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::init_u64vector (size_t k, const std::vector< uint64_t > &data) init_u64vector pmt::init_u64vector size_t k const std::vector< uint64_t > & data PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::init_s64vector (size_t k, const int64_t *data) init_s64vector pmt::init_s64vector size_t k const int64_t * data PMT_API rpcbasic_inserter< T, std::vector< int64_t > >::retrieve
PMT_API pmt_t PMT_API pmt_t pmt::init_s64vector (size_t k, const std::vector< int64_t > &data) init_s64vector pmt::init_s64vector size_t k const std::vector< int64_t > & data PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::init_f32vector (size_t k, const float *data) init_f32vector pmt::init_f32vector size_t k const float * data PMT_API pmt_assist< myType >::make rpcbasic_inserter< T, std::vector< float > >::retrieve
PMT_API pmt_t PMT_API pmt_t pmt::init_f32vector (size_t k, const std::vector< float > &data) init_f32vector pmt::init_f32vector size_t k const std::vector< float > & data PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::init_f64vector (size_t k, const double *data) init_f64vector pmt::init_f64vector size_t k const double * data PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::init_f64vector (size_t k, const std::vector< double > &data) init_f64vector pmt::init_f64vector size_t k const std::vector< double > & data PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::init_c32vector (size_t k, const std::complex< float > *data) init_c32vector pmt::init_c32vector size_t k const std::complex< float > * data PMT_API pmt_assist< myType >::make rpcbasic_inserter< T, std::vector< std::complex< float > > >::retrieve
PMT_API pmt_t PMT_API pmt_t pmt::init_c32vector (size_t k, const std::vector< std::complex< float > > &data) init_c32vector pmt::init_c32vector size_t k const std::vector< std::complex< float > > & data PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::init_c64vector (size_t k, const std::complex< double > *data) init_c64vector pmt::init_c64vector size_t k const std::complex< double > * data PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::init_c64vector (size_t k, const std::vector< std::complex< double > > &data) init_c64vector pmt::init_c64vector size_t k const std::vector< std::complex< double > > & data PMT_API
PMT_API uint8_t PMT_API uint8_t pmt::u8vector_ref (pmt_t v, size_t k) u8vector_ref pmt::u8vector_ref pmt_t v size_t k PMT_API
PMT_API int8_t PMT_API int8_t pmt::s8vector_ref (pmt_t v, size_t k) s8vector_ref pmt::s8vector_ref pmt_t v size_t k PMT_API
PMT_API uint16_t PMT_API uint16_t pmt::u16vector_ref (pmt_t v, size_t k) u16vector_ref pmt::u16vector_ref pmt_t v size_t k PMT_API
PMT_API int16_t PMT_API int16_t pmt::s16vector_ref (pmt_t v, size_t k) s16vector_ref pmt::s16vector_ref pmt_t v size_t k PMT_API
PMT_API uint32_t PMT_API uint32_t pmt::u32vector_ref (pmt_t v, size_t k) u32vector_ref pmt::u32vector_ref pmt_t v size_t k PMT_API
PMT_API int32_t PMT_API int32_t pmt::s32vector_ref (pmt_t v, size_t k) s32vector_ref pmt::s32vector_ref pmt_t v size_t k PMT_API
PMT_API uint64_t PMT_API uint64_t pmt::u64vector_ref (pmt_t v, size_t k) u64vector_ref pmt::u64vector_ref pmt_t v size_t k PMT_API
PMT_API int64_t PMT_API int64_t pmt::s64vector_ref (pmt_t v, size_t k) s64vector_ref pmt::s64vector_ref pmt_t v size_t k PMT_API
PMT_API float PMT_API float pmt::f32vector_ref (pmt_t v, size_t k) f32vector_ref pmt::f32vector_ref pmt_t v size_t k PMT_API
PMT_API double PMT_API double pmt::f64vector_ref (pmt_t v, size_t k) f64vector_ref pmt::f64vector_ref pmt_t v size_t k PMT_API
PMT_API std::complex< float > PMT_API std::complex< float > pmt::c32vector_ref (pmt_t v, size_t k) c32vector_ref pmt::c32vector_ref pmt_t v size_t k PMT_API
PMT_API std::complex< double > PMT_API std::complex< double > pmt::c64vector_ref (pmt_t v, size_t k) c64vector_ref pmt::c64vector_ref pmt_t v size_t k PMT_API
PMT_API void PMT_API void pmt::u8vector_set (pmt_t v, size_t k, uint8_t x) u8vector_set pmt::u8vector_set pmt_t v size_t k uint8_t x PMT_API
PMT_API void PMT_API void pmt::s8vector_set (pmt_t v, size_t k, int8_t x) s8vector_set pmt::s8vector_set pmt_t v size_t k int8_t x PMT_API
PMT_API void PMT_API void pmt::u16vector_set (pmt_t v, size_t k, uint16_t x) u16vector_set pmt::u16vector_set pmt_t v size_t k uint16_t x PMT_API
PMT_API void PMT_API void pmt::s16vector_set (pmt_t v, size_t k, int16_t x) s16vector_set pmt::s16vector_set pmt_t v size_t k int16_t x PMT_API
PMT_API void PMT_API void pmt::u32vector_set (pmt_t v, size_t k, uint32_t x) u32vector_set pmt::u32vector_set pmt_t v size_t k uint32_t x PMT_API
PMT_API void PMT_API void pmt::s32vector_set (pmt_t v, size_t k, int32_t x) s32vector_set pmt::s32vector_set pmt_t v size_t k int32_t x PMT_API
PMT_API void PMT_API void pmt::u64vector_set (pmt_t v, size_t k, uint64_t x) u64vector_set pmt::u64vector_set pmt_t v size_t k uint64_t x PMT_API
PMT_API void PMT_API void pmt::s64vector_set (pmt_t v, size_t k, int64_t x) s64vector_set pmt::s64vector_set pmt_t v size_t k int64_t x PMT_API
PMT_API void PMT_API void pmt::f32vector_set (pmt_t v, size_t k, float x) f32vector_set pmt::f32vector_set pmt_t v size_t k float x PMT_API
PMT_API void PMT_API void pmt::f64vector_set (pmt_t v, size_t k, double x) f64vector_set pmt::f64vector_set pmt_t v size_t k double x PMT_API
PMT_API void PMT_API void pmt::c32vector_set (pmt_t v, size_t k, std::complex< float > x) c32vector_set pmt::c32vector_set pmt_t v size_t k std::complex< float > x PMT_API
PMT_API void PMT_API void pmt::c64vector_set (pmt_t v, size_t k, std::complex< double > x) c64vector_set pmt::c64vector_set pmt_t v size_t k std::complex< double > x PMT_API
PMT_API const void * PMT_API const void * pmt::uniform_vector_elements (pmt_t v, size_t &len) uniform_vector_elements pmt::uniform_vector_elements pmt_t v size_t & len
PMT_API const uint8_t * PMT_API const uint8_t * pmt::u8vector_elements (pmt_t v, size_t &len) u8vector_elements pmt::u8vector_elements pmt_t v size_t & len PMT_API
PMT_API const int8_t * PMT_API const int8_t * pmt::s8vector_elements (pmt_t v, size_t &len) s8vector_elements pmt::s8vector_elements pmt_t v size_t & len PMT_API
PMT_API const uint16_t * PMT_API const uint16_t * pmt::u16vector_elements (pmt_t v, size_t &len) u16vector_elements pmt::u16vector_elements pmt_t v size_t & len PMT_API
PMT_API const int16_t * PMT_API const int16_t * pmt::s16vector_elements (pmt_t v, size_t &len) s16vector_elements pmt::s16vector_elements pmt_t v size_t & len PMT_API
PMT_API const uint32_t * PMT_API const uint32_t * pmt::u32vector_elements (pmt_t v, size_t &len) u32vector_elements pmt::u32vector_elements pmt_t v size_t & len PMT_API
PMT_API const int32_t * PMT_API const int32_t * pmt::s32vector_elements (pmt_t v, size_t &len) s32vector_elements pmt::s32vector_elements pmt_t v size_t & len PMT_API
PMT_API const uint64_t * PMT_API const uint64_t * pmt::u64vector_elements (pmt_t v, size_t &len) u64vector_elements pmt::u64vector_elements pmt_t v size_t & len PMT_API
PMT_API const int64_t * PMT_API const int64_t * pmt::s64vector_elements (pmt_t v, size_t &len) s64vector_elements pmt::s64vector_elements pmt_t v size_t & len PMT_API
PMT_API const float * PMT_API const float * pmt::f32vector_elements (pmt_t v, size_t &len) f32vector_elements pmt::f32vector_elements pmt_t v size_t & len PMT_API
PMT_API const double * PMT_API const double * pmt::f64vector_elements (pmt_t v, size_t &len) f64vector_elements pmt::f64vector_elements pmt_t v size_t & len PMT_API
PMT_API const std::complex< float > * PMT_API const std::complex< float > * pmt::c32vector_elements (pmt_t v, size_t &len) c32vector_elements pmt::c32vector_elements pmt_t v size_t & len PMT_API
PMT_API const std::complex< double > * PMT_API const std::complex< double > * pmt::c64vector_elements (pmt_t v, size_t &len) c64vector_elements pmt::c64vector_elements pmt_t v size_t & len
PMT_API const std::vector< uint8_t > PMT_API const std::vector< uint8_t > pmt::u8vector_elements (pmt_t v) u8vector_elements pmt::u8vector_elements pmt_t v PMT_API
PMT_API const std::vector< int8_t > PMT_API const std::vector< int8_t > pmt::s8vector_elements (pmt_t v) s8vector_elements pmt::s8vector_elements pmt_t v PMT_API
PMT_API const std::vector< uint16_t > PMT_API const std::vector< uint16_t > pmt::u16vector_elements (pmt_t v) u16vector_elements pmt::u16vector_elements pmt_t v PMT_API
PMT_API const std::vector< int16_t > PMT_API const std::vector< int16_t > pmt::s16vector_elements (pmt_t v) s16vector_elements pmt::s16vector_elements pmt_t v PMT_API
PMT_API const std::vector< uint32_t > PMT_API const std::vector< uint32_t > pmt::u32vector_elements (pmt_t v) u32vector_elements pmt::u32vector_elements pmt_t v PMT_API
PMT_API const std::vector< int32_t > PMT_API const std::vector< int32_t > pmt::s32vector_elements (pmt_t v) s32vector_elements pmt::s32vector_elements pmt_t v PMT_API
PMT_API const std::vector< uint64_t > PMT_API const std::vector< uint64_t > pmt::u64vector_elements (pmt_t v) u64vector_elements pmt::u64vector_elements pmt_t v PMT_API
PMT_API const std::vector< int64_t > PMT_API const std::vector< int64_t > pmt::s64vector_elements (pmt_t v) s64vector_elements pmt::s64vector_elements pmt_t v PMT_API
PMT_API const std::vector< float > PMT_API const std::vector< float > pmt::f32vector_elements (pmt_t v) f32vector_elements pmt::f32vector_elements pmt_t v PMT_API
PMT_API const std::vector< double > PMT_API const std::vector< double > pmt::f64vector_elements (pmt_t v) f64vector_elements pmt::f64vector_elements pmt_t v PMT_API
PMT_API const std::vector< std::complex< float > > PMT_API const std::vector< std::complex< float > > pmt::c32vector_elements (pmt_t v) c32vector_elements pmt::c32vector_elements pmt_t v PMT_API
PMT_API const std::vector< std::complex< double > > PMT_API const std::vector< std::complex< double > > pmt::c64vector_elements (pmt_t v) c64vector_elements pmt::c64vector_elements pmt_t v PMT_API
PMT_API void * PMT_API void * pmt::uniform_vector_writable_elements (pmt_t v, size_t &len) uniform_vector_writable_elements pmt::uniform_vector_writable_elements pmt_t v size_t & len
PMT_API uint8_t * PMT_API uint8_t * pmt::u8vector_writable_elements (pmt_t v, size_t &len) u8vector_writable_elements pmt::u8vector_writable_elements pmt_t v size_t & len PMT_API
PMT_API int8_t * PMT_API int8_t * pmt::s8vector_writable_elements (pmt_t v, size_t &len) s8vector_writable_elements pmt::s8vector_writable_elements pmt_t v size_t & len PMT_API
PMT_API uint16_t * PMT_API uint16_t * pmt::u16vector_writable_elements (pmt_t v, size_t &len) u16vector_writable_elements pmt::u16vector_writable_elements pmt_t v size_t & len PMT_API
PMT_API int16_t * PMT_API int16_t * pmt::s16vector_writable_elements (pmt_t v, size_t &len) s16vector_writable_elements pmt::s16vector_writable_elements pmt_t v size_t & len PMT_API
PMT_API uint32_t * PMT_API uint32_t * pmt::u32vector_writable_elements (pmt_t v, size_t &len) u32vector_writable_elements pmt::u32vector_writable_elements pmt_t v size_t & len PMT_API
PMT_API int32_t * PMT_API int32_t * pmt::s32vector_writable_elements (pmt_t v, size_t &len) s32vector_writable_elements pmt::s32vector_writable_elements pmt_t v size_t & len PMT_API
PMT_API uint64_t * PMT_API uint64_t * pmt::u64vector_writable_elements (pmt_t v, size_t &len) u64vector_writable_elements pmt::u64vector_writable_elements pmt_t v size_t & len PMT_API
PMT_API int64_t * PMT_API int64_t * pmt::s64vector_writable_elements (pmt_t v, size_t &len) s64vector_writable_elements pmt::s64vector_writable_elements pmt_t v size_t & len PMT_API
PMT_API float * PMT_API float * pmt::f32vector_writable_elements (pmt_t v, size_t &len) f32vector_writable_elements pmt::f32vector_writable_elements pmt_t v size_t & len PMT_API
PMT_API double * PMT_API double * pmt::f64vector_writable_elements (pmt_t v, size_t &len) f64vector_writable_elements pmt::f64vector_writable_elements pmt_t v size_t & len PMT_API
PMT_API std::complex< float > * PMT_API std::complex< float > * pmt::c32vector_writable_elements (pmt_t v, size_t &len) c32vector_writable_elements pmt::c32vector_writable_elements pmt_t v size_t & len PMT_API
PMT_API std::complex< double > * PMT_API std::complex< double > * pmt::c64vector_writable_elements (pmt_t v, size_t &len) c64vector_writable_elements pmt::c64vector_writable_elements pmt_t v size_t & len
PMT_API bool PMT_API bool pmt::is_dict (const pmt_t &obj) is_dict pmt::is_dict const pmt_t & obj

Return true if `obj` is a dictionary.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::dcons (const pmt_t &x, const pmt_t &y) dcons pmt::dcons const pmt_t & x const pmt_t & y

Return a newly allocated dict whose car is a key-value pair `x` and whose cdr is a dict `y`.

PMT_API
acons
PMT_API pmt_t PMT_API pmt_t pmt::make_dict () make_dict pmt::make_dict

Make an empty dictionary.

PMT_API
dict_from_mapping
gr::blocks::file_meta_sink::make
typename map_t
pmt_t pmt_t pmt::dict_from_mapping (const map_t &prototype) dict_from_mapping pmt::dict_from_mapping const map_t & prototype

Make a dictionary from an existing mapping type. The constraint for this to work is the ability for the map_t to iterate over [key, value] pairs, that is, to be able to be used in a.

for(const auto& [key, val] : prototype)

loop.

dict_add
make_dict
PMT_API pmt_t PMT_API pmt_t pmt::dict_add (const pmt_t &dict, const pmt_t &key, const pmt_t &value) dict_add pmt::dict_add const pmt_t & dict const pmt_t & key const pmt_t & value

Return a new dictionary with `key` associated with `value`.

PMT_API
dict_from_mapping
PMT_API pmt_t PMT_API pmt_t pmt::dict_delete (const pmt_t &dict, const pmt_t &key) dict_delete pmt::dict_delete const pmt_t & dict const pmt_t & key

Return a new dictionary with `key` removed.

PMT_API
PMT_API bool PMT_API bool pmt::dict_has_key (const pmt_t &dict, const pmt_t &key) dict_has_key pmt::dict_has_key const pmt_t & dict const pmt_t & key

Return true if `key` exists in `dict`.

PMT_API
gr::basic_block::has_msg_port
gr::hier_block2::message_port_register_hier_out
PMT_API pmt_t PMT_API pmt_t pmt::dict_ref (const pmt_t &dict, const pmt_t &key, const pmt_t &not_found) dict_ref pmt::dict_ref const pmt_t & dict const pmt_t & key const pmt_t & not_found

If `key` exists in `dict`, return associated value; otherwise return `not_found`.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::dict_items (pmt_t dict) dict_items pmt::dict_items pmt_t dict

Return list of (key . value) pairs.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::dict_keys (pmt_t dict) dict_keys pmt::dict_keys pmt_t dict

Return list of keys.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::dict_update (const pmt_t &dict1, const pmt_t &dict2) dict_update pmt::dict_update const pmt_t & dict1 const pmt_t & dict2

Return a new dictionary `dict1` with k=>v pairs from `dict2` added.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::dict_values (pmt_t dict) dict_values pmt::dict_values pmt_t dict

Return list of values.

PMT_API
PMT_API bool PMT_API bool pmt::is_any (pmt_t obj) is_any pmt::is_any pmt_t obj

Return true if `obj` is an any.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_any (const boost::any &any) make_any pmt::make_any const boost::any & any

make an any

PMT_API
gr::digital::constellation::as_pmt
PMT_API boost::any PMT_API boost::any pmt::any_ref (pmt_t obj) any_ref pmt::any_ref pmt_t obj

Return underlying boost::any.

PMT_API
PMT_API void PMT_API void pmt::any_set (pmt_t obj, const boost::any &any) any_set pmt::any_set pmt_t obj const boost::any & any

Store `any` in `obj`.

PMT_API
PMT_API bool PMT_API bool pmt::is_msg_accepter (const pmt_t &obj) is_msg_accepter pmt::is_msg_accepter const pmt_t & obj

Return true if `obj` is a msg_accepter.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::make_msg_accepter (std::shared_ptr< gr::messages::msg_accepter > ma) make_msg_accepter pmt::make_msg_accepter std::shared_ptr< gr::messages::msg_accepter > ma

make a msg_accepter

PMT_API
mp
PMT_API std::shared_ptr< gr::messages::msg_accepter > PMT_API std::shared_ptr< gr::messages::msg_accepter > pmt::msg_accepter_ref (const pmt_t &obj) msg_accepter_ref pmt::msg_accepter_ref const pmt_t & obj

Return underlying msg_accepter.

PMT_API
gr::messages::send
PMT_API bool PMT_API bool pmt::is_pdu (const pmt_t &obj) is_pdu pmt::is_pdu const pmt_t & obj

Returns true if the object is a PDU meaning: the object is a pair the car is a dictionary type object (including an empty dict) the cdr is a uniform vector of any type

PMT_API
PMT_API bool PMT_API bool pmt::eq (const pmt_t &x, const pmt_t &y) eq pmt::eq const pmt_t & x const pmt_t & y

Return true if x and y are the same object; otherwise return false.

PMT_API
PMT_API bool PMT_API bool pmt::eqv (const pmt_t &x, const pmt_t &y) eqv pmt::eqv const pmt_t & x const pmt_t & y

Return true if x and y should normally be regarded as the same object, else false.

eqv returns true if: x and y are the same object. x and y are both #t or both #f. x and y are both symbols and their names are the same. x and y are both numbers, and are numerically equal. x and y are both the empty list (nil). x and y are pairs or vectors that denote same location in store.

PMT_API
gr::msg_queue_comparator::operator()
pmt::comparator::operator()
PMT_API bool PMT_API bool pmt::equal (const pmt_t &x, const pmt_t &y) equal pmt::equal const pmt_t & x const pmt_t & y

pmt::equal recursively compares the contents of pairs and vectors, applying pmt::eqv on other objects such as numbers and symbols. pmt::equal may fail to terminate if its arguments are circular data structures.

PMT_API
gr::msg_endpoint::operator==
PMT_API size_t PMT_API size_t pmt::length (const pmt_t &v) length pmt::length const pmt_t & v

Return the number of elements in v.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::assq (pmt_t obj, pmt_t alist) assq pmt::assq pmt_t obj pmt_t alist

Find the first pair in `alist` whose car field is `obj` and return that pair.

`alist` (for "association list") must be a list of pairs. If no pair in `alist` has `obj` as its car then #f is returned. Uses pmt::eq to compare `obj` with car fields of the pairs in `alist`.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::assv (pmt_t obj, pmt_t alist) assv pmt::assv pmt_t obj pmt_t alist

Find the first pair in `alist` whose car field is `obj` and return that pair.

`alist` (for "association list") must be a list of pairs. If no pair in `alist` has `obj` as its car then #f is returned. Uses pmt::eqv to compare `obj` with car fields of the pairs in `alist`.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::assoc (pmt_t obj, pmt_t alist) assoc pmt::assoc pmt_t obj pmt_t alist

Find the first pair in `alist` whose car field is `obj` and return that pair.

`alist` (for "association list") must be a list of pairs. If no pair in `alist` has `obj` as its car then #f is returned. Uses pmt::equal to compare `obj` with car fields of the pairs in `alist`.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::map (pmt_t proc(const pmt_t &), pmt_t list) map pmt::map pmt_t proc const pmt_t & pmt_t list

Apply `proc` element-wise to the elements of list and returns a list of the results, in order.

`list` must be a list. The dynamic order in which `proc` is applied to the elements of `list` is unspecified.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::reverse (pmt_t list) reverse pmt::reverse pmt_t list

reverse `list`.

`list` must be a proper list.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::reverse_x (pmt_t list) reverse_x pmt::reverse_x pmt_t list

destructively reverse `list`.

`list` must be a proper list.

PMT_API
pmt_t static pmt_t pmt::acons (pmt_t x, pmt_t y, pmt_t a) acons pmt::acons pmt_t x pmt_t y pmt_t a

(acons x y a) == (cons (cons x y) a)

cons
dcons
PMT_API pmt_t PMT_API pmt_t pmt::nth (size_t n, pmt_t list) nth pmt::nth size_t n pmt_t list

locates `nth` element of list where the car is the 'zeroth' element.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::nthcdr (size_t n, pmt_t list) nthcdr pmt::nthcdr size_t n pmt_t list

returns the tail of `list` that would be obtained by calling cdr `n` times in succession.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::memq (pmt_t obj, pmt_t list) memq pmt::memq pmt_t obj pmt_t list

Return the first sublist of `list` whose car is `obj`. If `obj` does not occur in `list`, then #f is returned. pmt::memq use pmt::eq to compare `obj` with the elements of `list`.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::memv (pmt_t obj, pmt_t list) memv pmt::memv pmt_t obj pmt_t list

Return the first sublist of `list` whose car is `obj`. If `obj` does not occur in `list`, then #f is returned. pmt::memv use pmt::eqv to compare `obj` with the elements of `list`.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::member (pmt_t obj, pmt_t list) member pmt::member pmt_t obj pmt_t list

Return the first sublist of `list` whose car is `obj`. If `obj` does not occur in `list`, then #f is returned. pmt::member use pmt::equal to compare `obj` with the elements of `list`.

PMT_API
PMT_API bool PMT_API bool pmt::subsetp (pmt_t list1, pmt_t list2) subsetp pmt::subsetp pmt_t list1 pmt_t list2

Return true if every element of `list1` appears in `list2`, and false otherwise. Comparisons are done with pmt::eqv.

list1
list2
PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::list1 (const pmt_t &x1) list1 pmt::list1 const pmt_t & x1

Return a list of length 1 containing `x1`.

PMT_API
subsetp
PMT_API pmt_t PMT_API pmt_t pmt::list2 (const pmt_t &x1, const pmt_t &x2) list2 pmt::list2 const pmt_t & x1 const pmt_t & x2

Return a list of length 2 containing `x1`, `x2`.

PMT_API
subsetp
PMT_API pmt_t PMT_API pmt_t pmt::list3 (const pmt_t &x1, const pmt_t &x2, const pmt_t &x3) list3 pmt::list3 const pmt_t & x1 const pmt_t & x2 const pmt_t & x3

Return a list of length 3 containing `x1`, `x2`, `x3`.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::list4 (const pmt_t &x1, const pmt_t &x2, const pmt_t &x3, const pmt_t &x4) list4 pmt::list4 const pmt_t & x1 const pmt_t & x2 const pmt_t & x3 const pmt_t & x4

Return a list of length 4 containing `x1`, `x2`, `x3`, `x4`.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::list5 (const pmt_t &x1, const pmt_t &x2, const pmt_t &x3, const pmt_t &x4, const pmt_t &x5) list5 pmt::list5 const pmt_t & x1 const pmt_t & x2 const pmt_t & x3 const pmt_t & x4 const pmt_t & x5

Return a list of length 5 containing `x1`, `x2`, `x3`, `x4`, `x5`.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::list6 (const pmt_t &x1, const pmt_t &x2, const pmt_t &x3, const pmt_t &x4, const pmt_t &x5, const pmt_t &x6) list6 pmt::list6 const pmt_t & x1 const pmt_t & x2 const pmt_t & x3 const pmt_t & x4 const pmt_t & x5 const pmt_t & x6

Return a list of length 6 containing `x1`, `x2`, `x3`, `x4`, `x5`, `x6`.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::list_add (pmt_t list, const pmt_t &item) list_add pmt::list_add pmt_t list const pmt_t & item

Return `list` with `item` added to it.

PMT_API
gr::hier_block2::message_port_register_hier_in
gr::hier_block2::message_port_register_hier_out
PMT_API pmt_t PMT_API pmt_t pmt::list_rm (pmt_t list, const pmt_t &item) list_rm pmt::list_rm pmt_t list const pmt_t & item

Return `list` with `item` removed from it.

PMT_API
PMT_API bool PMT_API bool pmt::list_has (pmt_t list, const pmt_t &item) list_has pmt::list_has pmt_t list const pmt_t & item

Return bool of `list` contains `item`.

PMT_API
gr::hier_block2::message_port_is_hier_in
gr::hier_block2::message_port_is_hier_out
gr::hier_block2::message_port_register_hier_in
gr::hier_block2::message_port_register_hier_out
PMT_API bool PMT_API bool pmt::is_eof_object (pmt_t obj) is_eof_object pmt::is_eof_object pmt_t obj

return true if obj is the EOF object, otherwise return false.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::read (std::istream &port) read pmt::read std::istream & port

read converts external representations of pmt objects into the objects themselves. Read returns the next object parsable from the given input port, updating port to point to the first character past the end of the external representation of the object.

If an end of file is encountered in the input before any characters are found that can begin an object, then an end of file object is returned. The port remains open, and further attempts to read will also return an end of file object. If an end of file is encountered after the beginning of an object's external representation, but the external representation is incomplete and therefore not parsable, an error is signaled.

PMT_API
PMT_API void PMT_API void pmt::write (pmt_t obj, std::ostream &port) write pmt::write pmt_t obj std::ostream & port

Write a written representation of `obj` to the given `port`.

PMT_API
PMT_API std::string PMT_API std::string pmt::write_string (pmt_t obj) write_string pmt::write_string pmt_t obj

Return a string representation of `obj`. This is the same output as would be generated by pmt::write.

PMT_API
PMT_API std::ostream & PMT_API std::ostream & pmt::operator<< (std::ostream &os, pmt_t obj) operator<< pmt::operator<< std::ostream & os pmt_t obj PMT_API
PMT_API void PMT_API void pmt::print (pmt_t v) print pmt::print pmt_t v

Write pmt string representation to stdout.

PMT_API
PMT_API bool PMT_API bool pmt::serialize (pmt_t obj, std::streambuf &sink) serialize pmt::serialize pmt_t obj std::streambuf & sink

Write portable byte-serial representation of `obj` to `sink`.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::deserialize (std::streambuf &source) deserialize pmt::deserialize std::streambuf & source

Create obj from portable byte-serial representation.

PMT_API
PMT_API void PMT_API void pmt::dump_sizeof () dump_sizeof pmt::dump_sizeof PMT_API
PMT_API std::string PMT_API std::string pmt::serialize_str (pmt_t obj) serialize_str pmt::serialize_str pmt_t obj

Provide a simple string generating interface to pmt's serialize function.

PMT_API
PMT_API pmt_t PMT_API pmt_t pmt::deserialize_str (std::string str) deserialize_str pmt::deserialize_str std::string str

Provide a simple string generating interface to pmt's deserialize function.

PMT_API
pmt_t static pmt_t pmt::mp (const std::string &s) mp pmt::mp const std::string & s

Make pmt symbol.

string_to_symbol
pmt_assist< myType >::make
rpcbasic_inserter< T, Tfrom >::retrieve
pmt_t static pmt_t pmt::mp (const char *s) mp pmt::mp const char * s

Make pmt symbol.

string_to_symbol
pmt_t static pmt_t pmt::mp (long x) mp pmt::mp long x

Make pmt long.

from_long
pmt_t static pmt_t pmt::mp (long unsigned x) mp pmt::mp long unsigned x

Make pmt uint64.

from_uint64
pmt_t static pmt_t pmt::mp (long long unsigned x) mp pmt::mp long long unsigned x

Make pmt uint64.

from_uint64
pmt_t static pmt_t pmt::mp (int x) mp pmt::mp int x

Make pmt long.

from_long
pmt_t static pmt_t pmt::mp (double x) mp pmt::mp double x

Make pmt double.

from_double
pmt_t static pmt_t pmt::mp (std::complex< double > z) mp pmt::mp std::complex< double > z

Make pmt complex.

make_rectangular
pmt_t static pmt_t pmt::mp (std::complex< float > z) mp pmt::mp std::complex< float > z

Make pmt complex.

make_rectangular
pmt_t static pmt_t pmt::mp (std::shared_ptr< gr::messages::msg_accepter > ma) mp pmt::mp std::shared_ptr< gr::messages::msg_accepter > ma

Make pmt msg_accepter.

make_msg_accepter
pmt_t static pmt_t pmt::mp (const void *data, size_t len_in_bytes) mp pmt::mp const void * data size_t len_in_bytes

Make pmt Binary Large Object (BLOB).

make_blob
pmt_t static pmt_t pmt::mp (const pmt_t &e0) mp pmt::mp const pmt_t & e0

Make tuple.

make_tuple
pmt_t static pmt_t pmt::mp (const pmt_t &e0, const pmt_t &e1) mp pmt::mp const pmt_t & e0 const pmt_t & e1

Make tuple.

make_tuple
pmt_t static pmt_t pmt::mp (const pmt_t &e0, const pmt_t &e1, const pmt_t &e2) mp pmt::mp const pmt_t & e0 const pmt_t & e1 const pmt_t & e2

Make tuple.

make_tuple
pmt_t static pmt_t pmt::mp (const pmt_t &e0, const pmt_t &e1, const pmt_t &e2, const pmt_t &e3) mp pmt::mp const pmt_t & e0 const pmt_t & e1 const pmt_t & e2 const pmt_t & e3

Make tuple.

make_tuple
pmt_t static pmt_t pmt::mp (const pmt_t &e0, const pmt_t &e1, const pmt_t &e2, const pmt_t &e3, const pmt_t &e4) mp pmt::mp const pmt_t & e0 const pmt_t & e1 const pmt_t & e2 const pmt_t & e3 const pmt_t & e4

Make tuple.

make_tuple
pmt_t static pmt_t pmt::mp (const pmt_t &e0, const pmt_t &e1, const pmt_t &e2, const pmt_t &e3, const pmt_t &e4, const pmt_t &e5) mp pmt::mp const pmt_t & e0 const pmt_t & e1 const pmt_t & e2 const pmt_t & e3 const pmt_t & e4 const pmt_t & e5

Make tuple.

make_tuple
pmt_t static pmt_t pmt::mp (const pmt_t &e0, const pmt_t &e1, const pmt_t &e2, const pmt_t &e3, const pmt_t &e4, const pmt_t &e5, const pmt_t &e6) mp pmt::mp const pmt_t & e0 const pmt_t & e1 const pmt_t & e2 const pmt_t & e3 const pmt_t & e4 const pmt_t & e5 const pmt_t & e6

Make tuple.

make_tuple
pmt_t static pmt_t pmt::mp (const pmt_t &e0, const pmt_t &e1, const pmt_t &e2, const pmt_t &e3, const pmt_t &e4, const pmt_t &e5, const pmt_t &e6, const pmt_t &e7) mp pmt::mp const pmt_t & e0 const pmt_t & e1 const pmt_t & e2 const pmt_t & e3 const pmt_t & e4 const pmt_t & e5 const pmt_t & e6 const pmt_t & e7

Make tuple.

make_tuple
pmt_t static pmt_t pmt::mp (const pmt_t &e0, const pmt_t &e1, const pmt_t &e2, const pmt_t &e3, const pmt_t &e4, const pmt_t &e5, const pmt_t &e6, const pmt_t &e7, const pmt_t &e8) mp pmt::mp const pmt_t & e0 const pmt_t & e1 const pmt_t & e2 const pmt_t & e3 const pmt_t & e4 const pmt_t & e5 const pmt_t & e6 const pmt_t & e7 const pmt_t & e8

Make tuple.

make_tuple
pmt_t static pmt_t pmt::mp (const pmt_t &e0, const pmt_t &e1, const pmt_t &e2, const pmt_t &e3, const pmt_t &e4, const pmt_t &e5, const pmt_t &e6, const pmt_t &e7, const pmt_t &e8, const pmt_t &e9) mp pmt::mp const pmt_t & e0 const pmt_t & e1 const pmt_t & e2 const pmt_t & e3 const pmt_t & e4 const pmt_t & e5 const pmt_t & e6 const pmt_t & e7 const pmt_t & e8 const pmt_t & e9

Make tuple.

make_tuple

This file defines a polymorphic type and the operations on it.

It draws heavily on the idea of scheme and lisp data types. The interface parallels that in Guile 1.8, with the notable exception that these objects are transparently reference counted.

This file is included by pmt.h and contains pseudo-constructor shorthand for making pmt objects