Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Functions | Variables
display.cpp File Reference
#include <assert.h>
#include <stdio.h>
#include <string.h>
#include "cmdopt.h"
#include "exec.h"
#include "display.h"
#include "target.h"
#include <time.h>
#include <unistd.h>
Include dependency graph for display.cpp:

Go to the source code of this file.

Functions

void set_output_format (enum OutputFmt format)
 

Variables

void(* print_header )(const char *const[]) = print_header_plain
 
void(* print_target )(const struct target_opts *) = print_target_plain
 
void(* print_status )(const struct target_status *) = print_status_plain
 
void(* print_footer )(int, const struct target_status *) = print_footer_plain
 

Function Documentation

◆ set_output_format()

void set_output_format ( enum OutputFmt  format)

Sets the output functions referenced.

Definition at line 371 of file display.cpp.

Variable Documentation

◆ print_footer

void(* print_footer) (int, const struct target_status *) ( int  count,
const struct target_status *  status 
) = print_footer_plain

Prints the closing formatting for the table.

Definition at line 394 of file display.cpp.

◆ print_header

void(* print_header) (const char *const []) ( const char * const  argv[]) = print_header_plain

Prints the table preamble formatting, followed by the formatted header row.

Definition at line 391 of file display.cpp.

◆ print_status

void(* print_status) (const struct target_status *) ( const struct target_status *  status) = print_status_plain

Prints the formatted results for a target row.

Parameters
statusdescribes the results of the run

Definition at line 393 of file display.cpp.

◆ print_target

void(* print_target) (const struct target_opts *) ( const struct target_opts *  options) = print_target_plain

Prints the formatted header column for a target row.

This method uses the target_name global (defined in cmdopt.h), and flushes stdout after printing.

See also
target_name

Definition at line 392 of file display.cpp.