cmEngine  0.1.1
A library for interpreting CMake code.
Data Fields
cmDiagnostic Struct Reference

Data Fields

struct cmHosthost
 
enum cmDiagnosticSeverity severity
 
enum cmDiagnosticID id
 
const char * filename
 
size_t line
 
size_t column
 
char * message
 

Detailed Description

This structure is used to contain a diagnostic to be presented to the user.

Field Documentation

§ column

size_t cmDiagnostic::column

The column that the diagnostic pertains to. The column number begins at 1. A value of zero means there is no column number.

§ filename

const char* cmDiagnostic::filename

The name of the file that the diagnostic pertains to.

§ host

struct cmHost* cmDiagnostic::host

A pointer to the host that the diagnostic was allocated with.

§ id

enum cmDiagnosticID cmDiagnostic::id

The ID of the diagnostic.

§ line

size_t cmDiagnostic::line

The line that the diagnostic pertains to. The line number begins at 1. A value of zero means there is no line number. If there is no line number, then the column number is not printed.

§ message

char* cmDiagnostic::message

A formatted message describing the diagnostic.

§ severity

enum cmDiagnosticSeverity cmDiagnostic::severity

Indicates the severity of the diagnostic.


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