Ninja
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
BuildLog::LogEntry Struct Reference

#include <build_log.h>

Public Member Functions

 LogEntry (const std::string &output, uint64_t command_hash, int start_time, int end_time, TimeStamp mtime)
 
 LogEntry (std::string output)
 
bool operator== (const LogEntry &o) const
 

Static Public Member Functions

static uint64_t HashCommand (StringPiece command)
 

Public Attributes

uint64_t command_hash = 0
 
int end_time = 0
 
TimeStamp mtime = 0
 
std::string output
 
int start_time = 0
 

Detailed Description

Definition at line 60 of file build_log.h.

Constructor & Destructor Documentation

◆ LogEntry() [1/2]

BuildLog::LogEntry::LogEntry ( std::string  output)
explicit

Definition at line 64 of file build_log.cc.

◆ LogEntry() [2/2]

BuildLog::LogEntry::LogEntry ( const std::string &  output,
uint64_t  command_hash,
int  start_time,
int  end_time,
TimeStamp  mtime 
)

Definition at line 66 of file build_log.cc.

Member Function Documentation

◆ HashCommand()

uint64_t BuildLog::LogEntry::HashCommand ( StringPiece  command)
static

◆ operator==()

bool BuildLog::LogEntry::operator== ( const LogEntry o) const
inline

Definition at line 70 of file build_log.h.

References command_hash, end_time, mtime, output, and start_time.

Member Data Documentation

◆ command_hash

uint64_t BuildLog::LogEntry::command_hash = 0

◆ end_time

int BuildLog::LogEntry::end_time = 0

◆ mtime

TimeStamp BuildLog::LogEntry::mtime = 0

◆ output

std::string BuildLog::LogEntry::output

◆ start_time

int BuildLog::LogEntry::start_time = 0

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