PhoenixInkscape  2.0.0
Generate multiple png files with svg inkscape files
main.cpp File Reference
#include <iostream>
#include <vector>
#include "phoenix_assert.h"
#include "phoenix_system.h"
+ Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 
void testPhoenixSystemTime ()
 Test the phoenix popen function. More...
 
void testPhoenixWhoAmI ()
 Test the phoenix_whoami. More...
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 34 of file main.cpp.

34  {
37  return 0;
38 }
void testPhoenixSystemTime()
Test the phoenix popen function.
Definition: main.cpp:14
void testPhoenixWhoAmI()
Test the phoenix_whoami.
Definition: main.cpp:30

References testPhoenixSystemTime(), and testPhoenixWhoAmI().

+ Here is the call graph for this function:

◆ testPhoenixSystemTime()

void testPhoenixSystemTime ( )

Test the phoenix popen function.

Definition at line 14 of file main.cpp.

14  {
15  std::cout << "testPhoenixSystemTime : start = " << phoenix_getClockNs() << std::endl;
24  std::cout << "testPhoenixSystemTime : stop = " << phoenix_getClockNs() << std::endl;
25  std::cout << "testPhoenixSystemTime : phoenix_getDateCompact = " << phoenix_getDateCompact() << std::endl;
26  std::cout << "testPhoenixSystemTime : phoenix_getTime = " << phoenix_getTime() << std::endl;
27 }
#define phoenix_assert(isOk)
PString phoenix_getDateCompact()
Get the current date.
time_t phoenix_getTime()
Get the current time of the program.
double phoenix_getClockSec()
Get current time.
short unsigned int phoenix_getNbRowTerminal()
Get the number of rows of the terminal.
short unsigned int phoenix_getNbColTerminal()
Get the number of columns of the terminal.
time_t phoenix_getClockNs()
Get current time in nanosecond since the starting of the CPU (steady_clock)
time_t phoenix_getClock()
Get current time.
PString phoenix_getDate()
Get the current date.

References phoenix_assert, phoenix_getClock(), phoenix_getClockNs(), phoenix_getClockSec(), phoenix_getDate(), phoenix_getDateCompact(), phoenix_getNbColTerminal(), phoenix_getNbRowTerminal(), and phoenix_getTime().

Referenced by main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ testPhoenixWhoAmI()

void testPhoenixWhoAmI ( )

Test the phoenix_whoami.

Definition at line 30 of file main.cpp.

30  {
32 }
PString phoenix_whoami()
Get the name of the current user.

References phoenix_assert, and phoenix_whoami().

Referenced by main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: