Stores data on instances of an object (i.e. a function or struct found in a given file.
More...
|
| ObjectIdentifier (const std::string &filename_in) |
| Constructor for the ObjectIdentifier struct.
|
|
| ~ObjectIdentifier ()=default |
| Default destructor.
|
|
int | getInstanceCount () const |
| Return the number of instances for an object, as recorded in some ObjectIdentifier.
|
|
const std::string | getFileName () const |
| Return the name of the file searched to produce an ObjectIdentifier.
|
|
int | getReturnTypeCount () const |
| Report the number of return types for an object from some ObjectIdentifier.
|
|
const std::string | getReturnType (const int nt=0) const |
| Report the return type found for an object, as recorded in some ObjectIdentifier.
|
|
void | addInstance (const int n_add=1) |
| Tally one more instance of an object in an ObjectIdentifier.
|
|
void | addReturnType (const std::string rtype) |
| Set the return type of an object in an ObjectIdentifier.
|
|
Stores data on instances of an object (i.e. a function or struct found in a given file.