MercuryDPM
Beta
|
Go to the source code of this file.
Functions | |
std::string | to_string_padded (unsigned int value) |
Pads the number This function tries to pad the number to 4 digits, which is used when you create multiple files with padded numbers. Any numbers larger than 4 digits return unmodified. More... | |
std::ostream & | operator<< (std::ostream &os, FileType fileType) |
Writes the FileType as a human-readable string into the output stream 'os'. More... | |
std::istream & | operator>> (std::istream &is, FileType &fileType) |
Reads the FileType from an input stream 'is'. More... | |
std::ostream & | operator<< (std::ostream &os, const File &o) |
std::istream & | operator>> (std::istream &is, File &o) |
std::ostream& operator<< | ( | std::ostream & | os, |
FileType | fileType | ||
) |
Writes the FileType as a human-readable string into the output stream 'os'.
[in,out] | os | output stream to which the fileType is written |
[in] | fileType | the fileType that has to be written to the output stream |
Definition at line 72 of file File.cc.
References MULTIPLE_FILES, MULTIPLE_FILES_PADDED, NO_FILE, and ONE_FILE.
std::ostream& operator<< | ( | std::ostream & | os, |
const File & | o | ||
) |
[in,out] | os | |
[in] | o |
Definition at line 402 of file File.cc.
References File::write().
std::istream& operator>> | ( | std::istream & | is, |
FileType & | fileType | ||
) |
Reads the FileType from an input stream 'is'.
[in,out] | is | The input stream from which the fileType is read |
[in] | fileType | The fileType that has to be read from the input stream |
Definition at line 95 of file File.cc.
References MULTIPLE_FILES, MULTIPLE_FILES_PADDED, NO_FILE, and ONE_FILE.
std::istream& operator>> | ( | std::istream & | is, |
File & | o | ||
) |
[in,out] | is | |
[in] | o |
Definition at line 412 of file File.cc.
References File::read().
std::string to_string_padded | ( | unsigned int | value | ) |
Pads the number This function tries to pad the number to 4 digits, which is used when you create multiple files with padded numbers. Any numbers larger than 4 digits return unmodified.
value | The value to modify |
Definition at line 60 of file File.cc.
Referenced by DPMBase::readNextArgument().