23 #include <openbabel/babelconfig.h> 57 { _data = data;
Trim(_data); }
59 {_data = d;
Trim(_data); }
121 void SetValue(
const std::string &v) { _value = v; }
129 template <
class ValueT>
171 void SetData(std::vector<OBGenericData *> &vdata)
179 std::vector<OBGenericData*>::iterator i;
181 for (i = _vdata.begin();i != _vdata.end();++i)
182 if ((*i)->GetAttribute() == s)
191 std::vector<OBGenericData*>::iterator i;
193 for (i = _vdata.begin();i != _vdata.end();++i)
194 if ((*i)->GetAttribute() == s)
201 virtual const std::vector<OBGenericData *> &
GetData() const
209 return _vdata.begin();
213 std::vector<OBGenericData*>::iterator
GetEnd()
221 std::vector<OBGenericData*>::iterator i;
222 for (i = _vdata.begin();i != _vdata.end();++i)
246 OBVirtualBond(
unsigned int,
unsigned int,
unsigned int,
int stereo=0);
286 {
return(_vr.begin()); }
288 {
return(_vr.end()); }
289 OBRing *BeginRing(std::vector<OBRing*>::iterator &i);
290 OBRing *NextRing(std::vector<OBRing*>::iterator &i);
336 void SetData(
const double a,
const double b,
const double c,
337 const double alpha,
const double beta,
const double gamma);
355 void SetOffset(
const vector3 v1);
365 _spaceGroupName = sg; }
379 void FillUnitCell(
OBMol *);
394 double GetAlpha()
const;
397 double GetBeta()
const;
400 double GetGamma()
const;
415 LatticeType GetLatticeType(
int spacegroup )
const;
422 std::vector<vector3> GetCellVectors();
423 std::vector<vector3> GetCellVectors()
const;
492 int GetSpaceGroupNumber( std::string name =
"" );
493 int GetSpaceGroupNumber( std::string name =
"" )
const;
495 double GetCellVolume();
496 double GetCellVolume()
const;
528 void SetDimension(std::vector<unsigned short> vd) { _vDimension = vd; }
530 void SetForces(std::vector< std::vector< vector3 > > vf) {_vForces = vf;}
535 void SetData(std::vector<std::string> vdat) { _vData = vdat; }
539 std::vector< std::vector< vector3 > >
GetForces() {
return _vForces; }
544 std::vector<std::string>
GetData() {
return _vData; }
565 void SetData(std::string pg, std::string sg =
"")
566 { _pointGroup = pg; _spaceGroup = sg; }
583 std::pair<OBAtom*,OBAtom*>
_bc;
585 std::vector<triple<OBAtom*,OBAtom*,double> >
_ads;
591 std::vector<quad<OBAtom*,OBAtom*,OBAtom*,OBAtom*> > GetTorsions();
600 bool Empty() {
return(_bc.first == 0 && _bc.second == 0); }
605 bool SetAngle(
double radians,
unsigned int index = 0);
608 bool GetAngle(
double &radians,
unsigned int index =0);
611 unsigned int GetBondIdx();
612 size_t GetSize()
const {
return _ads.size(); }
622 std::vector<triple<OBAtom*,OBAtom*,double> >
GetADs()
627 bool IsProtonRotor();
664 return _torsions.size();
669 bool FillTorsionArray(std::vector<std::vector<unsigned int> > &torsions);
749 unsigned int FillAngleArray(
int **angles,
unsigned int &size);
750 bool FillAngleArray(std::vector<std::vector<unsigned int> > &angles);
757 return _angles.size();
784 std::map<int,OBAtom*> &
GetData() {
return _serialMap; }
785 void SetData(std::map<int,OBAtom*> &sm) { _serialMap = sm; }
795 std::vector< std::vector< vector3 > >
_vLx;
814 void SetData(
const std::vector< std::vector< vector3 > > & lx,
815 const std::vector<double> & frequencies,
816 const std::vector<double> & intensities);
817 void SetData(
const std::vector< std::vector< vector3 > > &,
818 const std::vector<double> &,
819 const std::vector<double> &,
820 const std::vector<double> &);
822 std::vector< std::vector< vector3 > >
GetLx()
const 823 {
return this->_vLx; }
825 {
return this->_vFrequencies; }
827 {
return this->_vIntensities; }
829 {
return this->_vRamanActivities; }
831 unsigned int GetNumberOfFrequencies()
const;
860 const std::vector<double> &,
861 const std::vector<double> &,
862 const std::vector<double> &);
865 {
return this->_fermi; }
867 {
return this->_vEnergies; }
869 {
return this->_vDensities; }
871 {
return this->_vIntegration; }
885 void SetData(
double energy,
double occupation = 2.0, std::string symbol =
"A")
886 { _energy = energy; _occupation = occupation; _mullikenSymbol = symbol; }
890 std::string
GetSymbol()
const {
return _mullikenSymbol; }
899 _alphaHOMO(0), _betaHOMO(0), _openShell(false) {};
907 { _alphaOrbitals = orbitalList; }
909 { _betaOrbitals = orbitalList; }
911 { _alphaHOMO = alpha; _betaHOMO = beta; }
913 { _openShell = openShell; }
924 void LoadClosedShellOrbitals(std::vector<double> energies, std::vector<std::string> symmetries,
unsigned int alphaHOMO);
926 void LoadAlphaOrbitals(std::vector<double> energies, std::vector<std::string> symmetries,
unsigned int alphaHOMO);
928 void LoadBetaOrbitals(std::vector<double> energies, std::vector<std::string> symmetries,
unsigned int betaHOMO);
966 void SetData(
const std::vector<double> & wavelengths,
967 const std::vector<double> & forces);
969 void SetEDipole(
const std::vector<double> &);
970 void SetRotatoryStrengthsVelocity(
const std::vector<double> &);
971 void SetRotatoryStrengthsLength(
const std::vector<double> &);
974 {
return this->_vWavelengths; }
976 {
return this->_vForces; }
978 {
return this->_vEDipole; }
980 {
return this->_vRotatoryStrengthsVelocity; }
982 {
return this->_vRotatoryStrengthsLength; }
995 void SetData(
RType RotorType, std::vector<double> RotationalConstants,
int SymmetryNumber)
997 RotConsts = RotationalConstants;
999 SymNum = SymmetryNumber;
1099 return (
int)_points.size();
1109 return _points.begin();
1114 return _points.begin() + NumPoints();
1119 i = _points.begin();
1143 return (
int)_PartialCharge.size();
1153 return _PartialCharge;
1162 #endif // OB_GENERIC_H std::vector< double > GetWavelengths() const
Definition: generic.h:973
OBFreeGridPoint * NextPoint(OBFreeGridPointIterator &i)
Definition: generic.h:1123
std::vector< double > GetRamanActivities() const
Definition: generic.h:828
std::string GetSymbol() const
Definition: generic.h:890
virtual OBGenericData * Clone(OBBase *) const
Definition: generic.h:648
OBTorsion()
Definition: generic.h:587
static const SpaceGroup * GetSpaceGroup(char const *name)
Definition: spacegroup.cpp:372
Definition: generic.h:306
OBPairTemplate()
Definition: generic.h:135
void SetSpaceGroup(const int sg)
Definition: generic.h:372
Definition: generic.h:1133
std::vector< double > _vDensities
Density of corresponding energy level (number of states / unit cell)
Definition: generic.h:846
Used to store the SSSR set (filled in by OBMol::GetSSSR())
Definition: generic.h:255
double _fermi
Fermi energy (eV) as shown in _vEnergies.
Definition: generic.h:840
unsigned int GetOrder()
Definition: generic.h:249
double _z
Definition: generic.h:1060
void AddData(OBGenericData *d)
Add an OBGenericData element to the set.
Definition: generic.h:162
void SetOpenShell(bool openShell)
Definition: generic.h:912
virtual OBGenericData * Clone(OBBase *) const
Definition: generic.h:901
virtual OBGenericData * Clone(OBBase *) const
Definition: generic.h:159
OBAtom * _vertex
Definition: generic.h:683
OBSerialNums(const OBSerialNums &cp)
Definition: generic.h:775
virtual OBGenericData * Clone(OBBase *) const
Definition: generic.h:137
~OBExternalBond()
Definition: generic.h:78
double _radians
Definition: generic.h:685
void AddPoint(double x, double y, double z, double V)
Definition: generic.h:1102
virtual ~OBRotationData()
Definition: generic.h:992
vector3 _vec
3D vector to be stored
Definition: generic.h:1032
virtual ~OBVectorData()
Definition: generic.h:1021
Used to hold all angles in a molecule as generic data for OBMol.
Definition: generic.h:727
LatticeType
Definition: generic.h:300
OBFreeGridPoint()
Definition: generic.h:1063
bool Empty()
Definition: generic.h:600
Vibrational modes, frequencies, etc.
Definition: base.h:126
std::vector< double > GetDensities() const
Definition: generic.h:868
Base class for generic data.
Definition: base.h:188
~OBPcharge()
Definition: generic.h:1139
double GetV()
Definition: generic.h:1069
std::vector< double > GetForces() const
Definition: generic.h:975
std::vector< OBGenericData * > _vdata
Definition: generic.h:156
std::string _pointGroup
Definition: generic.h:556
Matrix data (i.e., a 3x3 matrix like a rotation or quadrupole moment)
Definition: base.h:144
void SetX(double x)
Definition: generic.h:1070
void SetBond(OBBond *bond)
Definition: generic.h:85
OBSetData()
Definition: generic.h:158
Definition: generic.h:301
OBDOSData()
Definition: generic.h:852
std::string _value
The data for this key/value pair.
Definition: generic.h:115
virtual OBGenericData * Clone(OBBase *) const
Definition: generic.h:118
double GetY()
Definition: generic.h:1067
void SetData(vector3 data)
Definition: generic.h:1026
OBFreeGridPoint * BeginPoint(OBFreeGridPointIterator &i)
Definition: generic.h:1117
const std::string GetSpaceGroupName() const
Definition: generic.h:411
OBSerialNums()
Definition: generic.h:771
Used to hold a 3x3 matrix item (e.g., a quadrupole moment)
Definition: generic.h:1038
Stores information on rings in a molecule from SSSR perception.
Definition: ring.h:40
double GetEnergy() const
Definition: generic.h:888
Base classes to build a graph.
std::string _spaceGroupName
Definition: generic.h:314
virtual ~OBDOSData()
Definition: generic.h:853
OBFreeGridPointIterator BeginPoints()
Definition: generic.h:1107
matrix3x3 _mOrient
Definition: generic.h:312
void SetBetaOrbitals(std::vector< OBOrbital > orbitalList)
Definition: generic.h:908
int GetStereo()
Definition: generic.h:250
A 4-element templated, based on the design of the STL pair<>
Definition: obutil.h:287
std::vector< double > _vEnergies
Energy levels (eV)
Definition: generic.h:843
~OBFreeGridPoint()
Definition: generic.h:1065
void SetSpaceGroup(const SpaceGroup *sg)
Definition: generic.h:359
void SetValue(const ValueT t)
Definition: generic.h:139
OBPairTemplate< double > OBPairFloatingPoint
Store arbitrary key/value floating point data like OBPairData.
Definition: generic.h:146
~OBSymmetryData()
Definition: generic.h:561
std::vector< OBTorsion > _torsions
Definition: generic.h:639
virtual OBGenericData * Clone(OBBase *) const
Definition: generic.h:809
std::string GetSpaceGroup()
Definition: generic.h:571
std::vector< double > _vRamanActivities
Raman activities.
Definition: generic.h:804
void SetData(double x, double y, double z)
Definition: generic.h:1024
OBPairTemplate< int > OBPairInteger
Store arbitrary key/value integer data like OBPairData.
Definition: generic.h:144
std::vector< double > GetRotConsts() const
Definition: generic.h:1003
virtual OBGenericData * Clone(OBBase *) const
Definition: generic.h:245
std::vector< OBExternalBond > * GetData()
Definition: generic.h:101
double _occupation
usually 0, 1, or 2, but can be fractional (e.g., solid-state calcs)
Definition: generic.h:882
Used to hold information about orbital energies.
Definition: generic.h:895
int NumPoints()
Definition: generic.h:1097
Used to store information on an external bond (e.g., SMILES fragments)
Definition: generic.h:69
const SpaceGroup * _spaceGroup
Definition: generic.h:315
void SetSpaceGroup(std::string sg)
Definition: generic.h:568
virtual ~OBVibrationData()
Definition: generic.h:808
int SymNum
Rotational Symmetry Number.
Definition: generic.h:1010
OBFreeGridPointIterator EndPoints()
Definition: generic.h:1112
Bond class.
Definition: bond.h:58
Used to hold density of states information.
Definition: generic.h:836
double _energy
in electron volts
Definition: generic.h:881
std::vector< double > RotConsts
Rotational constants in GHz.
Definition: generic.h:1009
Used to hold the 3 atoms in an angle and the angle itself.
Definition: generic.h:674
std::vector< double > GetIntensities() const
Definition: generic.h:826
Used to hold torsions as generic data for OBMol.
Definition: generic.h:634
OBGenericData * GetData(const char *s)
Definition: generic.h:177
Used to hold the torsion data for a single rotatable bond and all four atoms around it...
Definition: generic.h:577
Molecule Class.
Definition: mol.h:118
Electronic transition data (e.g., UV/Vis, excitation energies, etc.)
Definition: base.h:153
std::vector< triple< OBAtom *, OBAtom *, double > > _ads
double is angle in radians
Definition: generic.h:585
virtual ~OBMatrixData()
Definition: generic.h:1042
std::map< int, OBAtom * > & GetData()
Definition: generic.h:784
std::map< int, OBAtom * > _serialMap
map between serial num
Definition: generic.h:767
Used to temporarily store bonds that reference an atom that has not yet been added to a molecule...
Definition: generic.h:236
double GetAngle() const
Definition: generic.h:710
void SetLatticeType(const LatticeType lt)
Set the Bravais lattice type for this unit cell.
Definition: generic.h:375
Rotational energy information.
Definition: base.h:129
int GetIdx() const
Definition: generic.h:80
void SetY(double y)
Definition: generic.h:1071
std::string _spaceGroup
Definition: generic.h:555
unsigned int _bgn
Definition: generic.h:239
virtual ~OBOrbitalData()
Definition: generic.h:900
~OBAngle()
Definition: generic.h:698
A 3-element templated, based on the design of the STL pair<>
Definition: obutil.h:251
bool _openShell
Whether we store both alpha and beta spin-orbitals (i.e., a restricted open-shell or unrestricted cal...
Definition: generic.h:935
Set Data (a set of OBGenericData)
Definition: base.h:135
Definition: generic.h:302
LatticeType _lattice
Definition: generic.h:316
OBElectronicTransitionData()
Definition: generic.h:959
std::string _mullikenSymbol
symmetry designation
Definition: generic.h:883
size_t GetSize() const
Definition: generic.h:612
virtual OBGenericData * Clone(OBBase *) const
Definition: generic.h:98
unsigned int _end
Definition: generic.h:240
double GetOccupation() const
Definition: generic.h:889
Definition: generic.h:300
void SetHOMO(int alpha, int beta=0)
Definition: generic.h:910
std::vector< triple< OBAtom *, OBAtom *, double > > GetADs()
Definition: generic.h:622
double GetFermiEnergy() const
Definition: generic.h:864
virtual OBGenericData * Clone(OBBase *) const
Definition: generic.h:321
Definition: generic.h:303
OBAtom * GetAtom() const
Definition: generic.h:81
virtual OBGenericData * Clone(OBBase *) const
Definition: generic.h:745
Used to store arbitrary text attribute/value relationships.
Definition: generic.h:112
std::vector< std::vector< vector3 > > GetLx() const
Definition: generic.h:822
Arbitrary key/value data, i.e., OBPairData.
Definition: base.h:70
OBFreeGrid()
Definition: generic.h:1088
void SetData(std::vector< OBGenericData *> &vdata)
Set the array of data to a new vector.
Definition: generic.h:171
double GetZ()
Definition: generic.h:1068
std::vector< OBOrbital > GetBetaOrbitals()
Definition: generic.h:920
void SetValue(const std::string &v)
Definition: generic.h:121
void SetSpaceGroup(const std::string sg)
Definition: generic.h:364
std::vector< OBAngle > _angles
Definition: generic.h:732
Used to store arbitrary attribute/set relationships. Should be used to store a set of OBGenericData b...
Definition: generic.h:153
ValueT _value
The data for this key/value pair.
Definition: generic.h:133
std::vector< OBFreeGridPoint * > _points
coordinates with accompanying float values
Definition: generic.h:1085
Definition: generic.h:304
std::vector< double > _vRotatoryStrengthsVelocity
Rotatory strengths (velocity)
Definition: generic.h:953
OBRotationData()
Definition: generic.h:991
std::vector< double > GetIntegration() const
Definition: generic.h:870
vector3 GetData() const
Definition: generic.h:1028
unsigned int _betaHOMO
Highest occupied for _betaOrbitals (if needed)
Definition: generic.h:934
Helper class for OBFreeGrid Can hold a random coordinate and associated value.
Definition: generic.h:1057
size_t GetSize() const
Definition: generic.h:662
OBPairTemplate< bool > OBPairBool
Store arbitrary key/value boolean data like OBPairData.
Definition: generic.h:148
Used to store arbitrary attribute/value relationsips of any type.
Definition: generic.h:130
std::vector< double > _vWavelengths
Wavelengths (nm)
Definition: generic.h:944
OBVectorData()
Definition: generic.h:1020
std::pair< OBAtom *, OBAtom * > _bc
Definition: generic.h:583
int _stereo
Definition: generic.h:242
Density of States data (fermi energy and energy vs. density data)
Definition: base.h:150
std::vector< OBOrbital > GetAlphaOrbitals()
Definition: generic.h:919
OBOrbitalData()
Definition: generic.h:898
void SetData(std::string pg, std::string sg="")
Definition: generic.h:565
std::vector< double > _vIntegration
Integrated DOS vector.
Definition: generic.h:849
unsigned int _alphaHOMO
Highest occupied molecular orbital for _alphaOrbitals.
Definition: generic.h:933
Used to store energy, occupation, and orbital symmetry of a particular orbital.
Definition: generic.h:877
Represents a vector in 3-dimensional real space.
Definition: vector3.h:44
~OBTorsion()
Definition: generic.h:595
std::vector< double > GetEnergies() const
Definition: generic.h:866
matrix3x3 _mOrtho
Definition: generic.h:311
Defines a map between serial numbers (e.g., in a PDB file) and OBAtom objects inside a molecule...
Definition: generic.h:764
matrix3x3 _matrix
3x3 matrix to be stored
Definition: generic.h:1051
unsigned int _ord
Definition: generic.h:241
OBGenericData * GetData(const std::string &s)
Definition: generic.h:189
matrix3x3 GetData() const
Definition: generic.h:1047
void SetData(std::map< int, OBAtom *> &sm)
Definition: generic.h:785
Represents a real 3x3 matrix.
Definition: matrix3x3.h:42
vector3 _offset
Definition: generic.h:313
unsigned int GetBetaHOMO()
Definition: generic.h:918
void SetData(double energy, double occupation=2.0, std::string symbol="A")
Definition: generic.h:885
void SetValue(const char *v)
Definition: generic.h:120
RType type
linear, symmetric or asymmetric top
Definition: generic.h:1011
std::vector< double > GetRotatoryStrengthsVelocity() const
Definition: generic.h:979
std::vector< OBExternalBond > _vexbnd
Definition: generic.h:93
RType
Definition: generic.h:990
virtual OBGenericData * Clone(OBBase *) const
Definition: generic.h:961
std::vector< double > _vEDipole
Electric dipole strengths.
Definition: generic.h:950
const std::string GetSpaceGroupName()
Definition: generic.h:410
void SetZ(double z)
Definition: generic.h:1072
unsigned int GetBgn()
Definition: generic.h:247
~OBUnitCell()
Definition: generic.h:323
Vector Data (i.e., one vector like a dipole moment)
Definition: base.h:141
Used for storing information about periodic boundary conditions with conversion to/from translation v...
Definition: generic.h:297
std::vector< OBRing * >::iterator BeginRings()
Definition: generic.h:285
int GetSymmetryNumber() const
Definition: generic.h:1005
std::string & Trim(std::string &txt)
Remove leading and trailing whitespace from a string (docs in tokenst.cpp)
Definition: tokenst.cpp:135
bool IsOpenShell()
Definition: generic.h:915
virtual const ValueT & GetGenericValue() const
Definition: generic.h:140
std::vector< OBRing * > _vr
Definition: generic.h:258
Electronic levels, redox states, orbitals, etc.
Definition: base.h:123
std::vector< double > GetRotatoryStrengthsLength() const
Definition: generic.h:981
~OBFreeGrid()
Definition: generic.h:1092
virtual OBGenericData * Clone(OBBase *) const
Definition: generic.h:854
unsigned int GetAlphaHOMO()
Definition: generic.h:917
std::vector< OBRing * >::iterator EndRings()
Definition: generic.h:287
Residue serial numbers.
Definition: base.h:100
Handle double precision floating point data with coordinates not on a grid Can hold array of random c...
Definition: generic.h:1082
void SetV(double V)
Definition: generic.h:1073
std::vector< double > _vIntensities
Infrared absorption intensities in KM/Mole.
Definition: generic.h:801
void SetData(std::vector< OBRing *> &vr)
Definition: generic.h:272
void DeleteData(OBGenericData *gd)
Delete the matching OBGenericData element.
Definition: generic.h:219
std::vector< std::vector< vector3 > > _vLx
Normal modes in 1/sqrt(a.u.)
Definition: generic.h:795
void SetAngle(double angle)
Definition: generic.h:716
int NumPartialCharges()
Definition: generic.h:1141
void SetData(RType RotorType, std::vector< double > RotationalConstants, int SymmetryNumber)
Definition: generic.h:995
void PushBack(OBRing *r)
Definition: generic.h:276
Used to hold a 3D vector item (e.g., a dipole moment)
Definition: generic.h:1017
std::pair< OBAtom *, OBAtom * > _termini
Definition: generic.h:684
std::vector< double > _vRotatoryStrengthsLength
Rotatory strengths (length)
Definition: generic.h:956
Used to hold the point-group and/or space-group symmetry.
Definition: generic.h:552
std::vector< double > GetFrequencies() const
Definition: generic.h:824
const SpaceGroup * GetSpaceGroup()
Definition: generic.h:406
std::vector< OBFreeGridPoint * >::iterator OBFreeGridPointIterator
A standard iterator over a vector of FreeGridPoints.
Definition: generic.h:1077
virtual OBGenericData * Clone(OBBase *) const
Definition: generic.h:267
virtual const std::vector< OBGenericData * > & GetData() const
Gets the entire set.
Definition: generic.h:201
Handle crystallographic space group symmetry.
Definition: spacegroup.h:35
Used to hold the normal modes of a molecule, etc.
Definition: generic.h:791
void SetAlphaOrbitals(std::vector< OBOrbital > orbitalList)
Definition: generic.h:906
OBPcharge()
Definition: generic.h:1138
std::vector< OBGenericData * >::iterator OBDataIterator
A standard iterator over vectors of OBGenericData (e.g., inherited from OBBase)
Definition: base.h:235
const SpaceGroup * GetSpaceGroup() const
Definition: generic.h:407
Used to store information on external bonds (e.g., in SMILES fragments)
Definition: generic.h:90
size_t GetSize() const
Definition: generic.h:755
std::vector< double > GetPartialCharge()
Definition: generic.h:1151
std::vector< OBRing * > & GetData()
Definition: generic.h:280
virtual OBGenericData * Clone(OBBase *) const
Definition: generic.h:993
void SetData(matrix3x3 data)
Definition: generic.h:1045
std::vector< OBAngle > GetData() const
Gets the angle vector data.
Definition: generic.h:738
unsigned int GetEnd()
Definition: generic.h:248
std::vector< OBGenericData * >::iterator GetBegin()
Get the begin iterator.
Definition: generic.h:207
std::vector< double > _vFrequencies
Harmonic frequencies in inverse centimeters.
Definition: generic.h:798
RType GetRotorType() const
Definition: generic.h:1006
virtual OBGenericData * Clone(OBBase *) const
Definition: generic.h:1043
OBMatrixData()
Definition: generic.h:1041
std::pair< OBAtom *, OBAtom * > GetBC()
Definition: generic.h:616
std::vector< double > _vForces
Oscillator strengths.
Definition: generic.h:947
Used to hold the rotational constants and symmetry numbers.
Definition: generic.h:987
std::vector< OBOrbital > _betaOrbitals
Only used if needed (e.g., unrestricted calculations)
Definition: generic.h:932
OBExternalBond()
Definition: generic.h:75
void SetAtom(OBAtom *atom)
Definition: generic.h:84
std::vector< OBGenericData * >::iterator GetEnd()
Get the end iterator.
Definition: generic.h:213
OBFreeGridPoint(double x, double y, double z, double V)
Definition: generic.h:1064
virtual OBGenericData * Clone(OBBase *) const
Definition: generic.h:781
std::vector< OBTorsion > GetData() const
Definition: generic.h:655
std::vector< double > GetEDipole() const
Definition: generic.h:977
Used to hold information about electronic transitions.
Definition: generic.h:940
Base Class.
Definition: base.h:239
std::string GetPointGroup()
Definition: generic.h:570
OBVibrationData()
Definition: generic.h:807
bool SetData(OBBond *)
Definition: generic.h:606
Handle Crystallographic Space Groups.
std::vector< double > _PartialCharge
Definition: generic.h:1136
void SetIdx(int idx)
Definition: generic.h:83
virtual OBGenericData * Clone(OBBase *) const
Definition: generic.h:1022
OBBond * GetBond() const
Definition: generic.h:82
virtual const std::string & GetValue() const
Base class returns a default value (the attribute type) but should never be called.
Definition: generic.h:122
Definition: generic.h:990
std::vector< OBOrbital > _alphaOrbitals
List of orbitals. In case of unrestricted calculations, this contains the alpha spin-orbitals.
Definition: generic.h:931
void SetPointGroup(std::string pg)
Definition: generic.h:567
bool operator==(const OBBitVec &bv1, const OBBitVec &bv2)
Definition: bitvec.cpp:525
virtual OBGenericData * Clone(OBBase *) const
Definition: generic.h:560
virtual ~OBElectronicTransitionData()
Definition: generic.h:960
Global namespace for all Open Babel code.
Definition: alias.h:22
Atom class.
Definition: atom.h:71
double GetX()
Definition: generic.h:1066
void AddPartialCharge(std::vector< double > q)
Definition: generic.h:1146