HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_SourceLocation Class Reference

#include <UT_SourceLocation.h>

Public Member Functions

 UT_SourceLocation (const UT_StringHolder &source=UT_StringHolder::theEmptyString, int line=0, int column_start=0, int column_end=0)
 
int64 getMemoryUsage (bool inclusive) const
 
bool operator== (const UT_SourceLocation &other) const
 
bool operator!= (const UT_SourceLocation &other) const
 
const UT_StringHoldersource () const
 
void setSource (const UT_StringHolder &source)
 
int line () const
 
void setLine (int line)
 
int columnStart () const
 
void setColumnStart (int col)
 
int columnEnd () const
 
void setColumnEnd (int col)
 

Detailed Description

Definition at line 18 of file UT_SourceLocation.h.

Constructor & Destructor Documentation

UT_SourceLocation::UT_SourceLocation ( const UT_StringHolder source = UT_StringHolder::theEmptyString,
int  line = 0,
int  column_start = 0,
int  column_end = 0 
)
inline

Definition at line 21 of file UT_SourceLocation.h.

Member Function Documentation

int UT_SourceLocation::columnEnd ( ) const
inline

Definition at line 60 of file UT_SourceLocation.h.

int UT_SourceLocation::columnStart ( ) const
inline

Definition at line 56 of file UT_SourceLocation.h.

int64 UT_SourceLocation::getMemoryUsage ( bool  inclusive) const
inline

Definition at line 31 of file UT_SourceLocation.h.

int UT_SourceLocation::line ( ) const
inline

Definition at line 52 of file UT_SourceLocation.h.

bool UT_SourceLocation::operator!= ( const UT_SourceLocation other) const
inline

Definition at line 45 of file UT_SourceLocation.h.

bool UT_SourceLocation::operator== ( const UT_SourceLocation other) const
inline

Definition at line 38 of file UT_SourceLocation.h.

void UT_SourceLocation::setColumnEnd ( int  col)
inline

Definition at line 62 of file UT_SourceLocation.h.

void UT_SourceLocation::setColumnStart ( int  col)
inline

Definition at line 58 of file UT_SourceLocation.h.

void UT_SourceLocation::setLine ( int  line)
inline

Definition at line 54 of file UT_SourceLocation.h.

void UT_SourceLocation::setSource ( const UT_StringHolder source)
inline

Definition at line 50 of file UT_SourceLocation.h.

const UT_StringHolder& UT_SourceLocation::source ( ) const
inline

Definition at line 48 of file UT_SourceLocation.h.


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