5 #ifndef BALL_FORMAT_HMOFILE_H
6 #define BALL_FORMAT_HMOFILE_H
10 #ifndef BALL_KERNEL_ATOMCONTAINER_H
14 #ifndef BALL_MATHS_SURFACE_H
110 return (charges_.size() > 0);
128 return (comments_.size() > 0);
157 virtual bool read(
Surface& surface);
166 virtual bool write(
Surface const& surface);
187 void readNodeData_(
Surface& surface);
190 void readElementData_(
Surface& surface);
193 void readChargeData_();
196 bool readUntil_(
String const& pattern);
199 void writeNodes_(
Surface const& surface);
202 void writeElements_(
Surface const& surface);
212 #endif // BALL_FORMAT_HMOFILE_H
std::vector< String > & getComments()
Accessor for the vector of comments.
std::vector< String > const & getComments() const
Accessor for the vector of comments, const version.
std::ios::openmode OpenMode
BALL_EXTERN_VARIABLE const double c
std::vector< HMOCharge > const & getCharges() const
Accessor for the vector of charges, const version.
std::vector< String > comments_
std::vector< HMOCharge > charges_
BALL_EXPORT bool operator==(const String &s1, const String &s2)
bool hasCharges() const
Test for the presence of charges.
std::vector< HMOCharge > & getCharges()
Accessor for the vector of charges.
bool hasComments() const
Test for the presence of comments.