109 using BaseVisitor::visit;
115 virtual void visit(
Atom* atom);
119 virtual void update();
121 virtual const std::string toString();
123 void writeFrame(std::ostream& outStream);
124 void clear() { frame.clear(); }
125 void doPositions(
bool pos) { doPositions_ = pos; }
126 void doVelocities(
bool vel) { doVelocities_ = vel; }
127 void doForces(
bool frc) { doForces_ = frc; }
128 void doVectors(
bool vec) { doVectors_ = vec; }
129 void doCharges(
bool chg) { doCharges_ = chg; }
130 void doElectricFields(
bool efl) { doElectricFields_ = efl; }
131 void doGlobalIDs(
bool gid) { doGlobalIDs_ = gid; }
138 std::string trimmedName(
const std::string& atomType);
143 std::vector<std::string> frame;
144 bool doPositions_ {
false};
145 bool doVelocities_ {
false};
146 bool doForces_ {
false};
147 bool doVectors_ {
false};
148 bool doCharges_ {
false};
149 bool doElectricFields_ {
false};
150 bool doGlobalIDs_ {
false};