Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

ogdf::BendString Class Reference

Represents the bends on an edge e consisting of vertical and horizontal segments. More...

#include <ogdf/orthogonal/OrthoRep.h>

Public Member Functions

 BendString ()
 
 BendString (BendString &&bs)
 
 BendString (char c, size_t n)
 
 BendString (const BendString &bs)
 
 BendString (const char *str)
 
 ~BendString ()
 
BendStringoperator+= (const BendString &bs)
 
BendStringoperator+= (const char *str)
 
BendStringoperator= (BendString &&bs)
 
BendStringoperator= (const BendString &bs)
 
char & operator[] (size_t i)
 
char operator[] (size_t i) const
 
void set ()
 
void set (char c, size_t n)
 
void set (const char *str)
 
void set (OrthoBendType obt, size_t n)
 
size_t size () const
 
const char * toString () const
 

Private Member Functions

void init (char c, size_t n)
 
void init (const BendString &bs)
 
void init (const char *str)
 

Private Attributes

size_t m_len
 
char * m_pBend
 

Friends

std::ostream & operator<< (std::ostream &os, const BendString &bs)
 

Detailed Description

Represents the bends on an edge e consisting of vertical and horizontal segments.

Definition at line 68 of file OrthoRep.h.

Constructor & Destructor Documentation

◆ BendString() [1/5]

ogdf::BendString::BendString ( )
inline

Definition at line 72 of file OrthoRep.h.

◆ BendString() [2/5]

ogdf::BendString::BendString ( const char *  str)
inlineexplicit

Definition at line 79 of file OrthoRep.h.

◆ BendString() [3/5]

ogdf::BendString::BendString ( char  c,
size_t  n 
)
inline

Definition at line 85 of file OrthoRep.h.

◆ BendString() [4/5]

ogdf::BendString::BendString ( const BendString bs)
inline

Definition at line 90 of file OrthoRep.h.

◆ BendString() [5/5]

ogdf::BendString::BendString ( BendString &&  bs)
inline

Definition at line 95 of file OrthoRep.h.

◆ ~BendString()

ogdf::BendString::~BendString ( )
inline

Definition at line 102 of file OrthoRep.h.

Member Function Documentation

◆ init() [1/3]

void ogdf::BendString::init ( char  c,
size_t  n 
)
private

◆ init() [2/3]

void ogdf::BendString::init ( const BendString bs)
private

◆ init() [3/3]

void ogdf::BendString::init ( const char *  str)
private

◆ operator+=() [1/2]

BendString& ogdf::BendString::operator+= ( const BendString bs)
inline

Definition at line 181 of file OrthoRep.h.

◆ operator+=() [2/2]

BendString& ogdf::BendString::operator+= ( const char *  str)
inline

Definition at line 177 of file OrthoRep.h.

◆ operator=() [1/2]

BendString& ogdf::BendString::operator= ( BendString &&  bs)
inline

Definition at line 166 of file OrthoRep.h.

◆ operator=() [2/2]

BendString& ogdf::BendString::operator= ( const BendString bs)
inline

Definition at line 159 of file OrthoRep.h.

◆ operator[]() [1/2]

char& ogdf::BendString::operator[] ( size_t  i)
inline

Definition at line 114 of file OrthoRep.h.

◆ operator[]() [2/2]

char ogdf::BendString::operator[] ( size_t  i) const
inline

Definition at line 108 of file OrthoRep.h.

◆ set() [1/4]

void ogdf::BendString::set ( )
inline

Definition at line 151 of file OrthoRep.h.

◆ set() [2/4]

void ogdf::BendString::set ( char  c,
size_t  n 
)
inline

Definition at line 140 of file OrthoRep.h.

◆ set() [3/4]

void ogdf::BendString::set ( const char *  str)
inline

Definition at line 133 of file OrthoRep.h.

◆ set() [4/4]

void ogdf::BendString::set ( OrthoBendType  obt,
size_t  n 
)
inline

Definition at line 144 of file OrthoRep.h.

◆ size()

size_t ogdf::BendString::size ( ) const
inline

Definition at line 121 of file OrthoRep.h.

◆ toString()

const char* ogdf::BendString::toString ( ) const
inline

Definition at line 127 of file OrthoRep.h.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const BendString bs 
)
friend

Definition at line 215 of file OrthoRep.h.

Member Data Documentation

◆ m_len

size_t ogdf::BendString::m_len
private

Definition at line 232 of file OrthoRep.h.

◆ m_pBend

char* ogdf::BendString::m_pBend
private

Definition at line 230 of file OrthoRep.h.


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