NAME
OUX_Program -
Extends OTC_Program to allow UNIX specific queries.
SYNOPSIS
#include <OUX/program/program.hh>
class OUX_Program : public OTC_Program
{
public:
static OTC_String const& basename();
static OTC_String const& dirname();
};
CLASS TYPE
Static
DESCRIPTION
This class adds to the OTC_Program class member functions
which allow queries about a programs name which are specific
to UNIX.
PUBLIC MEMBERS
static OTC_String const& basename();
Returns the basename part of the
program name. ie. it removes the
directory information.
static OTC_String const& dirname();
Returns the directory in which the
program was located.
LIBRARY
OUX
AUTHOR(S)
Graham Dumpleton
COPYRIGHT
Copyright 1992 OTC LIMITED
Copyright 1994 DUMPLETON SOFTWARE CONSULTING PTY LIMITED