Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
SegL Struct Reference

Description

Test-Segmentation comprised of a sequence of Seg entries.

It can be checked for validity according to the following conditions

  • the segmentation spans the complete range -100 ... +100
  • segments follow each other seamlessly
  • the bounds within each segment are ordered ascending
  • segments are not empty (i.e. start differs from end) The assessment of this validity conditions is appended on the string conversion.

Definition at line 143 of file split-splice-test.cpp.

Public Member Functions

 SegL (std::initializer_list< int > breaks)
 
 SegL ()
 
 operator string () const
 
bool isValid () const
 
string renderContent () const
 
string assess () const
 

Constructor & Destructor Documentation

◆ SegL() [1/2]

SegL ( std::initializer_list< int >  breaks)
inline

◆ SegL() [2/2]

SegL ( )
inline

Definition at line 159 of file split-splice-test.cpp.

Member Function Documentation

◆ operator string()

operator string ( ) const
inline

Definition at line 165 of file split-splice-test.cpp.

◆ isValid()

bool isValid ( ) const
inline

Definition at line 171 of file split-splice-test.cpp.

◆ renderContent()

string renderContent ( ) const
inline

Definition at line 177 of file split-splice-test.cpp.

References util::join().

+ Here is the call graph for this function:

◆ assess()

+ Inheritance diagram for SegL:
+ Collaboration diagram for SegL:

The documentation for this struct was generated from the following file: