summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/pmt/pmt_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/lib/pmt/pmt_int.h')
-rw-r--r--gnuradio-runtime/lib/pmt/pmt_int.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/gnuradio-runtime/lib/pmt/pmt_int.h b/gnuradio-runtime/lib/pmt/pmt_int.h
index cabd44e8c2..13c42968f2 100644
--- a/gnuradio-runtime/lib/pmt/pmt_int.h
+++ b/gnuradio-runtime/lib/pmt/pmt_int.h
@@ -30,7 +30,7 @@ public:
pmt_bool();
//~pmt_bool(){}
- bool is_bool() const { return true; }
+ bool is_bool() const override { return true; }
};
@@ -43,7 +43,7 @@ public:
pmt_symbol(const std::string& name);
//~pmt_symbol(){}
- bool is_symbol() const { return true; }
+ bool is_symbol() const override { return true; }
const std::string name() { return d_name; }
pmt_t next() { return d_next; } // symbol table link
@@ -58,8 +58,8 @@ public:
pmt_integer(long value);
//~pmt_integer(){}
- bool is_number() const { return true; }
- bool is_integer() const { return true; }
+ bool is_number() const override { return true; }
+ bool is_integer() const override { return true; }
long value() const { return d_value; }
};
@@ -71,8 +71,8 @@ public:
pmt_uint64(uint64_t value);
//~pmt_uint64(){}
- bool is_number() const { return true; }
- bool is_uint64() const { return true; }
+ bool is_number() const override { return true; }
+ bool is_uint64() const override { return true; }
uint64_t value() const { return d_value; }
};
@@ -84,8 +84,8 @@ public:
pmt_real(double value);
//~pmt_real(){}
- bool is_number() const { return true; }
- bool is_real() const { return true; }
+ bool is_number() const override { return true; }
+ bool is_real() const override { return true; }
double value() const { return d_value; }
};
@@ -97,8 +97,8 @@ public:
pmt_complex(std::complex<double> value);
//~pmt_complex(){}
- bool is_number() const { return true; }
- bool is_complex() const { return true; }
+ bool is_number() const override { return true; }
+ bool is_complex() const override { return true; }
std::complex<double> value() const { return d_value; }
};
@@ -108,7 +108,7 @@ public:
pmt_null();
//~pmt_null(){}
- bool is_null() const { return true; }
+ bool is_null() const override { return true; }
};
class pmt_pair : public pmt_base
@@ -120,7 +120,7 @@ public:
pmt_pair(const pmt_t& car, const pmt_t& cdr);
//~pmt_pair(){};
- bool is_pair() const { return true; }
+ bool is_pair() const override { return true; }
pmt_t car() const { return d_car; }
pmt_t cdr() const { return d_cdr; }
@@ -134,7 +134,7 @@ public:
pmt_dict(const pmt_t& car, const pmt_t& cdr);
//~pmt_dict(){};
- bool is_dict() const { return true; }
+ bool is_dict() const override { return true; }
};
class pmt_vector : public pmt_base
@@ -145,7 +145,7 @@ public:
pmt_vector(size_t len, pmt_t fill);
//~pmt_vector();
- bool is_vector() const { return true; }
+ bool is_vector() const override { return true; }
pmt_t ref(size_t k) const;
void set(size_t k, pmt_t obj);
void fill(pmt_t fill);
@@ -162,7 +162,7 @@ public:
pmt_tuple(size_t len);
//~pmt_tuple();
- bool is_tuple() const { return true; }
+ bool is_tuple() const override { return true; }
pmt_t ref(size_t k) const;
size_t length() const { return d_v.size(); }
@@ -178,7 +178,7 @@ public:
pmt_any(const boost::any& any);
//~pmt_any();
- bool is_any() const { return true; }
+ bool is_any() const override { return true; }
const boost::any& ref() const { return d_any; }
void set(const boost::any& any) { d_any = any; }
};
@@ -187,7 +187,7 @@ public:
class pmt_uniform_vector : public pmt_base
{
public:
- bool is_uniform_vector() const { return true; }
+ bool is_uniform_vector() const override { return true; }
virtual const void* uniform_elements(size_t& len) = 0;
virtual void* uniform_writable_elements(size_t& len) = 0;
virtual size_t length() const = 0;