Public Member Functions | List of all members
Rubric Class Reference

Class for creating files names using the pattern prefix+index+postfix. More...

#include <index2filename.hpp>

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

Public Member Functions

 Rubric (const string &prefix, const string &postfix)
 Class constructor. More...
 
string operator() (int index)
 Constructs a file name. More...
 
- Public Member Functions inherited from Index2FileName
virtual ~Index2FileName (void)
 class destructor
 

Detailed Description

Class for creating files names using the pattern prefix+index+postfix.

Definition at line 29 of file index2filename.hpp.

Constructor & Destructor Documentation

◆ Rubric()

Rubric::Rubric ( const string &  prefix,
const string &  postfix 
)

Class constructor.

Parameters
prefixPrefix
postfixPostfix

Definition at line 9 of file index2filename.cpp.

Member Function Documentation

◆ operator()()

string Rubric::operator() ( int  index)
virtual

Constructs a file name.

Parameters
indexFile index
Returns
File name

Implements Index2FileName.

Definition at line 13 of file index2filename.cpp.

Here is the call graph for this function:

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