A source of parcels.
More...
#include <Bundle.h>
A source of parcels.
- Author
- Michael Imamura
Constructor.
- Parameters
-
| dir | The directory (does not need to exist). |
| subBundle | Optional fall-back bundle. |
| virtual HoverRace::Parcel::Bundle::~Bundle |
( |
| ) |
|
|
inlinevirtual |
| iterator HoverRace::Parcel::Bundle::begin |
( |
| ) |
|
|
inline |
| iterator HoverRace::Parcel::Bundle::end |
( |
| ) |
|
|
inline |
| std::shared_ptr< RecordFile > HoverRace::Parcel::Bundle::OpenParcel |
( |
const std::string & |
name, |
|
|
bool |
writing = false |
|
) |
| const |
|
virtual |
Open an existing parcel.
All parcels, including sub-bundles, will be searched.
- Parameters
-
| name | The name of the parcel. |
| writing | true if the parcel will be written to, false if read-only. |
- Returns
- The parcel (may be
nullptr if parcel does not exist).
Reimplemented in HoverRace::Parcel::TrackBundle.
| std::shared_ptr<Bundle> HoverRace::Parcel::Bundle::subBundle |
|
private |
The documentation for this class was generated from the following files: