aboutsummaryrefslogtreecommitdiff
path: root/src/driver/horizon_sequence.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/horizon_sequence.hh')
-rw-r--r--src/driver/horizon_sequence.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/driver/horizon_sequence.hh b/src/driver/horizon_sequence.hh
index 398f687..ca363a1 100644
--- a/src/driver/horizon_sequence.hh
+++ b/src/driver/horizon_sequence.hh
@@ -28,6 +28,11 @@ public:
// are there any genuine horizons in the sequence (for this processor)?
bool has_genuine_horizons() const { return my_N_horizons_ > 0; }
+ // C-style string showing all horizon numbers,
+ // separated by the C-style string sep, eg. "2,3,5"
+ // ... result points into a private static buffer
+ char* sequence_string(const char sep[]) const;
+
// is the current horizon in the sequence dummy/genuine?
bool is_dummy () const { return posn_is_dummy (posn_); }
bool is_genuine() const { return posn_is_genuine(posn_); }