ARB
Public Member Functions | List of all members
LinePart Class Reference

Public Member Functions

 LinePart (const char *wholeLine, size_t len=-1U)
 
size_t get_size () const
 
bool is_empty () const
 
const charwhole_line () const
 
void define (const char *start, const char *end)
 
void undefine ()
 
void copyTo (char *buffer) const
 
LinePart behind () const
 
void error (const char *format)
 

Detailed Description

Definition at line 381 of file mkptypes.cxx.

Constructor & Destructor Documentation

LinePart::LinePart ( const char wholeLine,
size_t  len = -1U 
)
inline

Definition at line 398 of file mkptypes.cxx.

References mp_assert, and undefine().

Referenced by behind().

Member Function Documentation

size_t LinePart::get_size ( ) const
inline

Definition at line 406 of file mkptypes.cxx.

Referenced by error().

bool LinePart::is_empty ( ) const
inline

Definition at line 407 of file mkptypes.cxx.

Referenced by behind(), copyTo(), and error().

const char* LinePart::whole_line ( ) const
inline

Definition at line 409 of file mkptypes.cxx.

void LinePart::define ( const char start,
const char end 
)
inline

Definition at line 411 of file mkptypes.cxx.

void LinePart::undefine ( )
inline

Definition at line 412 of file mkptypes.cxx.

Referenced by error(), and LinePart().

void LinePart::copyTo ( char buffer) const
inline

Definition at line 414 of file mkptypes.cxx.

References is_empty(), and mp_assert.

Referenced by error().

LinePart LinePart::behind ( ) const
inline

Definition at line 420 of file mkptypes.cxx.

References is_empty(), LinePart(), and mp_assert.

void LinePart::error ( const char format)
inline

Definition at line 427 of file mkptypes.cxx.

References copyTo(), errorf(), get_size(), is_empty(), mp_assert, and undefine().


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