lsst.gauss2d gbf99507273+d801c9999e
Loading...
Searching...
No Matches
lsst::gauss2d::ImageArray< T, C > Class Template Reference

An array of compatible Images. More...

#include <image.h>

Inheritance diagram for lsst::gauss2d::ImageArray< T, C >:
lsst::gauss2d::Object

Public Types

typedef Image< T, C > ImageT
typedef std::vector< std::shared_ptr< C > > Data
using iterator = typename Data::iterator
using const_iterator = typename Data::const_iterator

Public Member Functions

ImageT & operator[] (size_t i)
const ImageT & operator[] (size_t i) const
ImageT & at (size_t i=0) const
Data::iterator begin () noexcept
Data::iterator end () noexcept
Data::const_iterator cbegin () const noexcept
Data::const_iterator cend () const noexcept
size_t size () const
std::string repr (bool name_keywords, std::string_view namespace_separator) const override
std::string str () const override
 Return a brief, human-readable string representation of this.
 ImageArray (const Data *data_in)

Additional Inherited Members

Static Public Member Functions inherited from lsst::gauss2d::Object
static std::string_view null_str (const std::string_view &namespace_separator)
Static Public Attributes inherited from lsst::gauss2d::Object
static constexpr std::string_view CC_NAMESPACE_SEPARATOR = "::"
 The C++ namespace separator.
static constexpr std::string_view NULL_STR_GENERAL = "None"
static constexpr std::string_view PY_NAMESPACE_SEPARATOR = "."

Detailed Description

template<typename T, class C>
class lsst::gauss2d::ImageArray< T, C >

An array of compatible Images.

See images_compatible() for the definition of compatibility.

Template Parameters
TThe numeric type.
CThe specialized class.

Member Function Documentation

◆ repr()

template<typename T, class C>
std::string lsst::gauss2d::ImageArray< T, C >::repr ( bool name_keywords,
std::string_view namespace_separator ) const
inlineoverridevirtual

Return a full, callable string representation of this.

Parameters
name_keywordsWhether to prefix arguments with "{name}=", where name is the arg name in the header (as with keyword arguments in Python).
namespace_separatorThe string to use to delimit namespaces, i.e. :: in C++ and . in Python.
Returns
A callable string representation of this, which should return an an identical object to this.
Note
The representation with name_keywords=false must be callable in C++. The representation with name_keywords=true should be callable in Python, if there are any bindings.

Implements lsst::gauss2d::Object.

◆ str()

template<typename T, class C>
std::string lsst::gauss2d::ImageArray< T, C >::str ( ) const
inlineoverridevirtual

Return a brief, human-readable string representation of this.

Implements lsst::gauss2d::Object.


The documentation for this class was generated from the following file: