|
The Sparta Modeling Framework
|
This collection of ReportDescriptors is designed to never deallocate memory once it has been allocated. References returned by the 'getDescriptorByName()' method are guaranteed to be valid for the life of this collection object. More...
#include <ReportDescriptor.hpp>
Public Member Functions | |
| ReportDescriptorCollection (const ReportDescriptorCollection &)=delete | |
| ReportDescriptorCollection & | operator= (const ReportDescriptorCollection &)=delete |
| ReportDescriptorCollection (ReportDescriptorCollection &&)=default | |
| ReportDescriptorCollection & | operator= (ReportDescriptorCollection &&)=default |
| void | push_back (const ReportDescriptor &rd) |
| Add one report descriptor to this collection. | |
| template<class... Args> | |
| void | emplace_back (Args &&... args) |
| Add one report descriptor to this collection. | |
| void | clear () |
| Remove (disable) all descriptors from this collection. | |
| size_t | size () const |
| Get the number of enabled descriptors in this collection. | |
| bool | empty () const |
| See if there are any enabled descriptors in this collection. | |
| bool | contains (const std::string &desc_name) const |
| ReportDescriptor & | getDescriptorByName (const std::string &desc_name) |
| Access a descriptor by the app::ReportDescriptor's "dest_file". | |
| void | removeDescriptorByName (const std::string &desc_name) |
| std::vector< std::string > | getAllDescriptorNames () const |
| std::deque< ReportDescriptor >::iterator | begin () |
| Iterator access. | |
| std::deque< ReportDescriptor >::const_iterator | begin () const |
| Iterator access. | |
| std::deque< ReportDescriptor >::iterator | end () |
| Iterator access. | |
| std::deque< ReportDescriptor >::const_iterator | end () const |
| Iterator access. | |
This collection of ReportDescriptors is designed to never deallocate memory once it has been allocated. References returned by the 'getDescriptorByName()' method are guaranteed to be valid for the life of this collection object.
If you want to "remove" a descriptor from the collection, call the 'removeDescriptorByName()' method.
Definition at line 578 of file ReportDescriptor.hpp.
|
inline |
Iterator access.
Definition at line 704 of file ReportDescriptor.hpp.
|
inline |
Iterator access.
Definition at line 709 of file ReportDescriptor.hpp.
|
inline |
Remove (disable) all descriptors from this collection.
Definition at line 635 of file ReportDescriptor.hpp.
|
inline |
See if the given report descriptor name (ReportDescriptor::dest_file) exists in this collection
Definition at line 659 of file ReportDescriptor.hpp.
|
inline |
Add one report descriptor to this collection.
Definition at line 629 of file ReportDescriptor.hpp.

|
inline |
See if there are any enabled descriptors in this collection.
Definition at line 653 of file ReportDescriptor.hpp.

|
inline |
Iterator access.
Definition at line 714 of file ReportDescriptor.hpp.
|
inline |
Iterator access.
Definition at line 719 of file ReportDescriptor.hpp.
|
inline |
Get all "dest_file" strings for the report descriptors that are enabled in this collection
Definition at line 693 of file ReportDescriptor.hpp.
|
inline |
Access a descriptor by the app::ReportDescriptor's "dest_file".
Definition at line 680 of file ReportDescriptor.hpp.
|
inline |
Add one report descriptor to this collection.
Definition at line 592 of file ReportDescriptor.hpp.
|
inline |
Remove (disable) one descriptor whose "dest_file" matches the given "desc_name" argument
Definition at line 687 of file ReportDescriptor.hpp.

|
inline |
Get the number of enabled descriptors in this collection.
Definition at line 642 of file ReportDescriptor.hpp.