RDKit
Open-source cheminformatics and machine learning.
MolCatalogParams.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2006 Greg Landrum
3 //
4 #ifndef _RD_MOL_CATALOG_PARAMS_H_
5 #define _RD_MOL_CATALOG_PARAMS_H_
6 
8 #include <string>
9 #include <iostream>
10 
11 
12 namespace RDKit {
13 
14  //! container for user parameters used to create a mol catalog
16 
17  public:
19  d_typeStr = "MolCatalog Parameters";
20  }
21 
23 
24  //! copy constructor
26  d_typeStr=other.d_typeStr;
27  }
28  //! construct from a pickle string (serialized representation)
29  MolCatalogParams(const std::string &pickle);
30 
31  //! serializes to the stream
32  void toStream(std::ostream &) const;
33  //! returns a serialized (pickled) form
34  std::string Serialize() const;
35  //! initialize from a stream containing a pickle
36  void initFromStream(std::istream &ss);
37  //! initialize from a string containing a pickle
38  void initFromString(const std::string &text);
39  };
40 }
41 
42 #endif
void initFromStream(std::istream &ss)
initialize from a stream containing a pickle
void toStream(std::ostream &) const
serializes to the stream
std::string Serialize() const
returns a serialized (pickled) form
MolCatalogParams(const MolCatalogParams &other)
copy constructor
std::string d_typeStr
our type string
Definition: CatalogParams.h:37
Includes a bunch of functionality for handling Atom and Bond queries.
Definition: Atom.h:28
void initFromString(const std::string &text)
initialize from a string containing a pickle
container for user parameters used to create a mol catalog
abstract base class for the container used to create a catalog
Definition: CatalogParams.h:17