Aegis  4.25.D505
Public Member Functions | Private Attributes
replay_line Class Reference

#include <line.h>

Public Member Functions

virtual ~replay_line ()
 replay_line ()
 replay_line (const replay_line &arg)
replay_lineoperator= (const replay_line &arg)
bool extract (const nstring &arg)
nstring get_version () const
nstring get_uuid () const
nstring get_description () const
nstring get_url2 () const

Private Attributes

nstring url1
nstring version
nstring url2
nstring uuid
nstring description

Detailed Description

The replay line is used to represent a line read from the output of /cgi-bin/aeget/projname?inventory

Definition at line 30 of file line.h.


Constructor & Destructor Documentation

virtual replay_line::~replay_line ( ) [virtual]

The destructor.

The default constructor.

The copy constructor.


Member Function Documentation

bool replay_line::extract ( const nstring arg)

The extract method is used to dismantle a line of text into its component parts.

Parameters:
argThe string representing the line to be dismantled.
Returns:
bool; false if the line is not in the correct format, true if the line was in the correct format and was successfully dismantled.

The get_description method is used to get the brief description part of the dismantled line.

Definition at line 82 of file line.h.

nstring replay_line::get_url2 ( ) const [inline]

The get_url2 method is used to get the URL wrapped around the UUID, which is the one for downloading from.

Definition at line 88 of file line.h.

nstring replay_line::get_uuid ( ) const [inline]

The get_uuid method is used to get the UUID part of the dismantled line.

Definition at line 76 of file line.h.

nstring replay_line::get_version ( ) const [inline]

The get_version method is used to get the version part of the dismantled line.

Definition at line 70 of file line.h.

replay_line& replay_line::operator= ( const replay_line arg)

The assignment operator.


Field Documentation

The version instance variable is used to remember the breif description extracted.

Definition at line 119 of file line.h.

The url1 instance variable is used to remember the change menu URL extracted (it is wrapped around the version number in each row).

Definition at line 95 of file line.h.

The url2 instance variable is used to remember the download URL extracted (it is wrapped around the UUID in each row).

Definition at line 107 of file line.h.

The uuid instance variable is used to remember the UUID extracted.

Definition at line 113 of file line.h.

The version instance variable is used to remember the version extracted.

Definition at line 101 of file line.h.


The documentation for this class was generated from the following file: