A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
pdb::QueryOutput< OutType > Class Template Reference

#include <QueryOutput.h>

+ Inheritance diagram for pdb::QueryOutput< OutType >:
+ Collaboration diagram for pdb::QueryOutput< OutType >:

Public Member Functions

ENABLE_DEEP_COPY QueryOutput (std::string &dbName, std::string &setName)
 
 QueryOutput ()
 
 QueryOutput (std::string dbName, std::string setName, Handle< QueryBase > input)
 
 ~QueryOutput ()
 
virtual std::string getIthInputType (int i) override
 
virtual std::string getOutputType () override
 
virtual int getNumInputs () override
 
virtual std::string getQueryType () override
 
void match (function< void(QueryBase &)> forSelection, function< void(QueryBase &)> forSet, function< void(QueryBase &)> forQueryOutput) override
 
- Public Member Functions inherited from pdb::QueryBase
 QueryBase ()
 
size_t hash () const
 
void print ()
 
void setDBName (std::string toMe)
 
void setError ()
 
void setSetName (std::string toMe)
 
bool wasError ()
 
std::string getDBName ()
 
std::string getSetName ()
 
Handle< QueryBase > & getIthInput (int i) const
 
bool hasInput ()
 
bool setInput (Handle< QueryBase > toMe)
 
bool setInput (int whichSlot, Handle< QueryBase > toMe)
 
virtual bool operator== (const QueryBase &other)
 
- Public Member Functions inherited from pdb::Object
void setVTablePtr (void *setToMe)
 
void * getVTablePtr ()
 
virtual void setUpAndCopyFrom (void *target, void *source) const
 
virtual void deleteObject (void *deleteMe)
 
virtual size_t getSize (void *ofMe)
 

Private Attributes

String myType
 

Additional Inherited Members

- Static Public Member Functions inherited from pdb::Object
static void * operator new (size_t sz, const std::nothrow_t &tag)
 
static void * operator new (size_t sz)
 
static void operator delete (void *me)
 
static void * operator new (std::size_t count, void *ptr)
 

Detailed Description

template<class OutType>
class pdb::QueryOutput< OutType >

Definition at line 32 of file QueryOutput.h.

Constructor & Destructor Documentation

template<class OutType >
ENABLE_DEEP_COPY pdb::QueryOutput< OutType >::QueryOutput ( std::string &  dbName,
std::string &  setName 
)
inline

Definition at line 37 of file QueryOutput.h.

+ Here is the call graph for this function:

template<class OutType >
pdb::QueryOutput< OutType >::QueryOutput ( )
inline

Definition at line 43 of file QueryOutput.h.

template<class OutType >
pdb::QueryOutput< OutType >::QueryOutput ( std::string  dbName,
std::string  setName,
Handle< QueryBase input 
)
inline

Definition at line 47 of file QueryOutput.h.

+ Here is the call graph for this function:

template<class OutType >
pdb::QueryOutput< OutType >::~QueryOutput ( )
inline

Definition at line 54 of file QueryOutput.h.

Member Function Documentation

template<class OutType >
virtual std::string pdb::QueryOutput< OutType >::getIthInputType ( int  i)
inlineoverridevirtual

Implements pdb::QueryBase.

Definition at line 56 of file QueryOutput.h.

template<class OutType >
virtual int pdb::QueryOutput< OutType >::getNumInputs ( )
inlineoverridevirtual

Implements pdb::QueryBase.

Definition at line 67 of file QueryOutput.h.

template<class OutType >
virtual std::string pdb::QueryOutput< OutType >::getOutputType ( )
inlineoverridevirtual

Implements pdb::QueryBase.

Definition at line 63 of file QueryOutput.h.

template<class OutType >
virtual std::string pdb::QueryOutput< OutType >::getQueryType ( )
inlineoverridevirtual

Implements pdb::QueryBase.

Definition at line 71 of file QueryOutput.h.

template<class OutType >
void pdb::QueryOutput< OutType >::match ( function< void(QueryBase &)>  forSelection,
function< void(QueryBase &)>  forSet,
function< void(QueryBase &)>  forQueryOutput 
)
inlineoverridevirtual

Executes the given algorithm on the QueryRoot.

Parameters
algothe algorithm to execute.

Implements pdb::QueryBase.

Definition at line 76 of file QueryOutput.h.

Member Data Documentation

template<class OutType >
String pdb::QueryOutput< OutType >::myType
private

Definition at line 80 of file QueryOutput.h.


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