Public Member Functions | List of all members
ImageOpBank Class Reference
Inheritance diagram for ImageOpBank:
Inheritance graph
[legend]
Collaboration diagram for ImageOpBank:
Collaboration graph
[legend]

Public Member Functions

template<class OP >
OP & install (const std::string &name=OP().getName())
 Add ImageOp command to registry (CommandBank). More...
 
ImageOpgetComplete (const std::string &query, char separator=',', char assign='=', const drain::SmartMap< std::string > &aliasMap=drain::SmartMap< std::string >())
 Supports querying operator with parameters set, eg. gaussianAverage,width=10,height=5.
 
- Public Member Functions inherited from Bank< ImageOp >
cloner_tgetCloner (const std::string &key) const
 Return the internal static entry.
 
D & add (const std::string &key)
 Adds class D as an internal instance. More...
 
D & add ()
 
D & addExternal (const D &entry, const std::string &key)
 Adds class D using a copy constructor on an external instance. More...
 
bool has (const std::string &key) const
 Check if a cloner is defined for this key.
 
ImageOpclone (const std::string &key) const
 Return a copy of the base instance.
 
const ImageOpget (const std::string &key) const
 Returns the base instance.
 
ImageOpget (const std::string &key)
 Returns the base instance.
 
map_t::const_iterator get () const
 Returns a map entry: pair<Key,D *>()
 
const map_tgetMap () const
 
virtual const std::string & resolve (const std::string &key) const
 
void toStream (std::ostream &ostr=std::cout) const
 
key_set_tgetKeys ()
 

Additional Inherited Members

- Public Types inherited from Bank< ImageOp >
typedef std::string key_t
 Public key type. (Key type used in the public interface.)
 
typedef ImageOp value_t
 Base type of cloned objects.
 
typedef ClonerBase< ImageOpcloner_t
 
typedef std::map< std::string, cloner_t * > map_t
 Base class.
 
typedef std::set< std::string > key_set_t
 For enumerating keys. More...
 
- Static Public Member Functions inherited from Bank< ImageOp >
static Cloner< ImageOp, D > & getCloner ()
 
- Protected Member Functions inherited from Bank< ImageOp >
drain::ClonerBase< ImageOp > & set (const std::string &key, drain::ClonerBase< ImageOp > &cloner)
 
- Protected Attributes inherited from Bank< ImageOp >
key_set_t keys
 

Member Function Documentation

◆ install()

OP& install ( const std::string &  name = OP().getName())
inline

Add ImageOp command to registry (CommandBank).

Template Parameters
OP- Class derived from ImageOp or Command

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