plptools
Loading...
Searching...
No Matches
plpdirent.cc File Reference
#include "config.h"
#include "plpdirent.h"
#include <iomanip>
Include dependency graph for plpdirent.cc:

Go to the source code of this file.

Functions

ostreamoperator<< (ostream &o, const PlpDirent &e)
 
static void appendWithDelim (string &s1, const char *const s2)
 

Variables

static const char *const media_types []
 

Function Documentation

◆ appendWithDelim()

static void appendWithDelim ( string &  s1,
const char *const  s2 
)
static

Definition at line 196 of file plpdirent.cc.

◆ operator<<()

ostream & operator<< ( std::ostream o,
const PlpDirent e 
)

The output is in human readable similar to the output of a "ls" command.

Definition at line 114 of file plpdirent.cc.

Variable Documentation

◆ media_types

const char* const media_types[]
static
Initial value:
= {
N_("Not present"),
N_("Unknown"),
N_("Floppy"),
N_("Disk"),
N_("CD-ROM"),
N_("RAM"),
N_("Flash Disk"),
N_("ROM"),
N_("Remote"),
}
#define N_(String)
Definition: plpintl.h:36

Definition at line 173 of file plpdirent.cc.