OpenClonk
C4Reloc::PathInfo Struct Reference

#include <C4Reloc.h>

Collaboration diagram for C4Reloc::PathInfo:
[legend]

Public Member Functions

 PathInfo (const StdCopyStrBuf buf, PathType pathType)
 
bool operator== (const PathInfo &other)
 
 operator const char * ()
 

Public Attributes

StdCopyStrBuf strBuf
 
PathType pathType
 

Detailed Description

Definition at line 31 of file C4Reloc.h.

Constructor & Destructor Documentation

◆ PathInfo()

C4Reloc::PathInfo::PathInfo ( const StdCopyStrBuf  buf,
PathType  pathType 
)
inline

Definition at line 35 of file C4Reloc.h.

35 : strBuf(buf), pathType(pathType) {}
StdCopyStrBuf strBuf
Definition: C4Reloc.h:33
PathType pathType
Definition: C4Reloc.h:34

Member Function Documentation

◆ operator const char *()

C4Reloc::PathInfo::operator const char * ( )
inline

Definition at line 37 of file C4Reloc.h.

37 {return strBuf.getData();}
const char * getData() const
Definition: StdBuf.h:442

References StdStrBuf::getData(), and strBuf.

Here is the call graph for this function:

◆ operator==()

bool C4Reloc::PathInfo::operator== ( const PathInfo other)
inline

Definition at line 36 of file C4Reloc.h.

36 {return pathType==other.pathType && strBuf==other.strBuf;}

References pathType, and strBuf.

Member Data Documentation

◆ pathType

PathType C4Reloc::PathInfo::pathType

Definition at line 34 of file C4Reloc.h.

Referenced by operator==().

◆ strBuf

StdCopyStrBuf C4Reloc::PathInfo::strBuf

Definition at line 33 of file C4Reloc.h.

Referenced by C4Language::Init(), operator const char *(), and operator==().


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