ARB
Public Member Functions | List of all members
FileContent Class Reference

#include <FileContent.h>

Inheritance diagram for FileContent:
Inheritance graph
[legend]
Collaboration diagram for FileContent:
Collaboration graph
[legend]

Public Member Functions

 FileContent (const char *path_)
 
 ~FileContent ()
 
GB_ERROR has_error () const
 
StrArray & lines ()
 
GB_ERROR save ()
 
GB_ERROR saveAs (const char *path_)
 

Detailed Description

Definition at line 21 of file FileContent.h.

Constructor & Destructor Documentation

FileContent::FileContent ( const char path_)
inline

Definition at line 32 of file FileContent.h.

FileContent::~FileContent ( )
inline

Definition at line 33 of file FileContent.h.

Member Function Documentation

GB_ERROR FileContent::has_error ( ) const
inline

Definition at line 35 of file FileContent.h.

Referenced by lines().

StrArray& FileContent::lines ( )
inline

Definition at line 37 of file FileContent.h.

References arb_assert, and has_error().

GB_ERROR FileContent::save ( )

Definition at line 35 of file FileContent.cxx.

References arb_assert, error(), fputc(), fputs(), and GB_IO_error().

Referenced by saveAs().

GB_ERROR FileContent::saveAs ( const char path_)
inline

Definition at line 43 of file FileContent.h.

References save().


The documentation for this class was generated from the following files: