#include <object.h>
Public Member Functions | |
| virtual std::string | repr (bool name_keywords=false, const std::string_view &namespace_separator=CC_NAMESPACE_SEPARATOR) const =0 |
| virtual std::string | str () const =0 |
| Return a brief, human-readable string representation of this. | |
Static Public Attributes | |
| static constexpr std::string_view | CC_NAMESPACE_SEPARATOR = "::" |
| The C++ namespace separator. | |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const Object &obj) |
A generic object from the parameters library.
Objects have string representations that are guaranteed to be valid in C++ and should also be valid in Python bindings, if implemented correctly. The interface may be expanded in the future.
|
pure virtual |
Return a full, callable string representation of this.
| name_keywords | Whether to prefix arguments with "{name}=", where name is the arg name in the header (as with keyword arguments in Python). |
| namespace_separator | The string to use to delimit namespaces, i.e. :: in C++ and . in Python. |
Implemented in lsst::modelfit::parameters::Limits< T >, lsst::modelfit::parameters::Parameter< T, C >, and lsst::modelfit::parameters::UnitTransform< T >.
|
pure virtual |
Return a brief, human-readable string representation of this.
Implemented in lsst::modelfit::parameters::Limits< T >, lsst::modelfit::parameters::Parameter< T, C >, and lsst::modelfit::parameters::UnitTransform< T >.