CycloBranch
cPubchemNameReader Struct Reference

The functor used to get the names of compounds from CID. More...

#include <cPubChemSearchWidget.h>

Public Types

typedef string result_type
 result_type
 

Public Member Functions

string getNameList (const string &cid)
 Get the list of names. More...
 
void getReducedNames (string &names, set< string > &reducednames)
 Get the reduded list of names. More...
 
string operator() (const string &cid)
 Overloaded operator (). More...
 

Detailed Description

The functor used to get the names of compounds from CID.

Member Function Documentation

◆ getNameList()

string cPubchemNameReader::getNameList ( const string &  cid)
inline

Get the list of names.

Parameters
cidCID
Return values
stringlist of names

◆ getReducedNames()

void cPubchemNameReader::getReducedNames ( string &  names,
set< string > &  reducednames 
)
inline

Get the reduded list of names.

Parameters
namesinput list of names
reducednamesouput set of reduced names

◆ operator()()

string cPubchemNameReader::operator() ( const string &  cid)
inline

Overloaded operator ().

Parameters
cidCID
Return values
stringlist of names

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