37 #ifndef AIMS_IO_WRITER_H 
   38 #define AIMS_IO_WRITER_H 
   62     bool write( 
const T & obj, 
bool ascii = 
false,
 
   63                 const std::string* format = 0 );
 
   97     inline Writer( 
const std::string& filename,
 
  108     virtual bool write( 
const T & obj, 
bool ascii = 
false,
 
  109                         const std::string* format = 0 );
 
  120     writer.
write( thing );
 
  129     writer.
write( thing );
 
  140   template <
typename T>
 
  141   inline bool write( 
const T & obj, 
const std::string & filename,
 
  143                      const std::string* format = 0 )
 
  147     return w.
write( obj, 
false, format );
 
virtual std::string writtenObjectDataType() const =0
void setOptions(carto::Object opt)
const std::string & fileName() const
get output file name
void setFileName(const std::string &fileName)
set output file name
const carto::Object options() const
GenericWriter(const std::string &filename, carto::Object options=carto::none())
virtual std::string writtenObjectFullType() const =0
virtual std::string writtenObjectType() const =0
bool write(const T &obj, bool ascii=false, const std::string *format=0)
Finds the correct format and writes the object.
Generic writer for every format of Aims object.
virtual std::string writtenObjectType() const
virtual std::string writtenObjectDataType() const
virtual bool write(const T &obj, bool ascii=false, const std::string *format=0)
Finds the correct format and writes the object.
virtual std::string writtenObjectFullType() const
Writer(const std::string &filename, carto::Object options=carto::none())
The class for EcatSino data write operation.
bool write(const T &obj, const std::string &filename, carto::Object options=carto::none(), const std::string *format=0)
Finds the correct format and writes the object, global version.
MotionWriter & operator<<(MotionWriter &writer, const AffineTransformation3d &thing) __attribute__((__deprecated__("OBSOLETE")))
— OBSOLETE —