16 #pragma warning (disable:4521) // 'class' : multiple copy constructors specified
29 struct ObjectContainer;
72 template <
typename ValueType>
73 static Object make(ValueType &&value);
107 template <
typename ValueType>
108 explicit Object(ValueType &&value);
137 explicit operator bool(
void)
const;
143 bool unique(
void)
const;
149 const std::type_info &type(
void)
const;
157 template <
typename ValueType>
158 const ValueType &extract(
void)
const;
167 template <
typename ValueType>
168 ValueType convert(
void)
const;
176 Object convert(
const std::type_info &type)
const;
183 bool canConvert(
const std::type_info &type)
const;
191 static bool canConvert(
const std::type_info &srcType,
const std::type_info &dstType);
199 std::ostream &
serialize(std::ostream &os)
const;
208 std::istream &deserialize(std::istream &is);
223 size_t hashCode(
void)
const;
229 std::string toString(
void)
const;
234 std::string getTypeString(
void)
const;
241 bool equals(
const Object &obj)
const;
248 bool operator<(
const Object &obj)
const;
255 bool operator>(
const Object &obj)
const;
#define POTHOS_API
Definition: Config.hpp:41
bool operator==(const ManagedBuffer &lhs, const ManagedBuffer &rhs)
Definition: ManagedBuffer.hpp:261
Detail::ObjectContainer * _impl
Private implementation details.
Definition: Object.hpp:258
Definition: Object.hpp:55
void serialize(Archive &, Pothos::Detail::ObjectContainer &, const unsigned int)
Definition: Serialize.hpp:46
int compareTo(const T0 &v0, const T1 &v1)
Definition: CompareTo.hpp:27
Definition: Object.hpp:37