LigandLoader


[ ligand_pharma | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

KEYWORD
AUTHORS
CHANGES LOG
GOALS
USAGE

Class Summary

class LigandLoader
{
public:
static void loadMolecules(const string& molsFile, vector< const FeaturedMolecule*>& molecules, unsigned int limit );
static void loadMolecules(const vector< string>& molFileNames, vector< const FeaturedMolecule*>& molecules, unsigned int limit );
static FeaturedMolecule* loadSingleMolecule(ifstream& inputStream, const string& molName);
static FeaturedMolecule* loadSingleMolecule(ifstream& inputStream, const string& molName, int molNumber);
static void loadBatchOfMolecules(ifstream& inputStream, const string& molName, vector< const FeaturedMolecule*>& molecules, unsigned int limit);
static void resetCounter() ;
static unsigned int numberOfMolecules() ;
static FeaturedMolecule* getMoleculeByName(string molName);
static void setUniqNaming(bool flag) ;
protected:
}; // LigandLoader

Back to the top of LigandLoader


KEYWORD

Back to the top of LigandLoader


AUTHORS

Back to the top of LigandLoader


CHANGES LOG

Back to the top of LigandLoader


GOALS

Back to the top of LigandLoader

		

USAGE

		

Back to the top of LigandLoader


void loadMolecules(const string& molsFile, vector< const FeaturedMolecule*>& molecules, unsigned int limit );

loads molecules from mol2 file that can include several number of molecules

  static void loadMolecules(const string& molsFile, vector< const FeaturedMolecule*>& molecules, unsigned int limit=PRACT_WORDSIZE);

Back to the top of LigandLoader


void loadMolecules(const vector< string>& molFileNames, vector< const FeaturedMolecule*>& molecules, unsigned int limit );

loads molecules from a list of mol2 files, each can include several molecules

  static void loadMolecules(const vector< string>& molFileNames, vector< const FeaturedMolecule*>& molecules, unsigned int limit=PRACT_WORDSIZE);

Back to the top of LigandLoader


FeaturedMolecule* loadSingleMolecule(ifstream& inputStream, const string& molName);

loads single molecule from mol2 file

  static FeaturedMolecule* loadSingleMolecule(ifstream& inputStream, const string& molName);

Back to the top of LigandLoader


FeaturedMolecule* loadSingleMolecule(ifstream& inputStream, const string& molName, int molNumber);

loads single molecule molNumber out of mol2 file with multiple ligands molNumber is the number of molecule by the order of their appearance in the file (starting from 1)

  static FeaturedMolecule* loadSingleMolecule(ifstream& inputStream, const string& molName, int molNumber);

Back to the top of LigandLoader


void loadBatchOfMolecules(ifstream& inputStream, const string& molName, vector< const FeaturedMolecule*>& molecules, unsigned int limit);

loads NUM (=limit) molecules from mol2 file

  static void loadBatchOfMolecules(ifstream& inputStream, const string& molName, vector< const FeaturedMolecule*>& molecules, unsigned int limit);

Back to the top of LigandLoader


void resetCounter() ;

  static void resetCounter()                     
;

Function is currently defined inline.


Back to the top of LigandLoader


unsigned int numberOfMolecules() ;

  static unsigned int numberOfMolecules()                        
;

Function is currently defined inline.


Back to the top of LigandLoader


FeaturedMolecule* getMoleculeByName(string molName);

  static FeaturedMolecule* getMoleculeByName(string molName);

Back to the top of LigandLoader


void setUniqNaming(bool flag) ;

  static void setUniqNaming(bool flag)                             
;

Function is currently defined inline.


Back to the top of LigandLoader


All Members

public:
static void loadMolecules(const string& molsFile, vector< const FeaturedMolecule*>& molecules, unsigned int limit );
static void loadMolecules(const vector< string>& molFileNames, vector< const FeaturedMolecule*>& molecules, unsigned int limit );
static FeaturedMolecule* loadSingleMolecule(ifstream& inputStream, const string& molName);
static FeaturedMolecule* loadSingleMolecule(ifstream& inputStream, const string& molName, int molNumber);
static void loadBatchOfMolecules(ifstream& inputStream, const string& molName, vector< const FeaturedMolecule*>& molecules, unsigned int limit);
static void resetCounter() ;
static unsigned int numberOfMolecules() ;
static FeaturedMolecule* getMoleculeByName(string molName);
static void setUniqNaming(bool flag) ;
protected:

Back to the top of LigandLoader


Ancestors

Class does not inherit from any other class.

Back to the top of LigandLoader


Descendants

Class is not inherited by any others.

Back to the top of LigandLoader


Generated from source by the Cocoon utilities on Mon Dec 21 11:44:47 2009 .

Report problems to jkotula@unimax.com