ost::Assoc(3) Library Functions Manual ost::Assoc(3)NAME
ost::Assoc -
This class is used to associate (object) pointers with named strings.
SYNOPSIS
#include <misc.h>
Classes
struct entry
Public Member Functions
void * getPointer (const char *id) const
void setPointer (const char *id, void *data)
Protected Member Functions
Assoc ()
virtual ~Assoc ()
void clear (void)
virtual void * getMemory (size_t size)=0
Detailed Description
This class is used to associate (object) pointers with named strings.
A virtual is used to allocate memory which can be overriden in the derived class.
Author:
David Sugar dyfet@ostel.com associate names with pointers.
Constructor & Destructor Documentation
ost::Assoc::Assoc () [protected]
virtual ost::Assoc::~Assoc () [protected], [virtual]
Member Function Documentation
void ost::Assoc::clear (void) [protected]
virtual void* ost::Assoc::getMemory (size_tsize) [protected], [pure virtual]
void* ost::Assoc::getPointer (const char *id) const
void ost::Assoc::setPointer (const char *id, void *data)
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::Assoc(3)
Check Out this Related Man Page
ost::ChecksumDigest(3) Library Functions Manual ost::ChecksumDigest(3)NAME
ost::ChecksumDigest -
A simple checksum digest function.
SYNOPSIS
#include <digest.h>
Inherits ost::Digest.
Public Member Functions
ChecksumDigest ()
void initDigest (void)
unsigned getSize (void)
unsigned getDigest (unsigned char *buffer)
void putDigest (const unsigned char *buffer, unsigned length)
Protected Member Functions
int overflow (int c)
std::ostream & strDigest (std::ostream &os)
Detailed Description
A simple checksum digest function.
Author:
David Sugar dyfet@ostel.com checksum hash function.
Constructor & Destructor Documentation
ost::ChecksumDigest::ChecksumDigest ()
Member Function Documentation
unsigned ost::ChecksumDigest::getDigest (unsigned char *buffer) [virtual]
Implements ost::Digest.
unsigned ost::ChecksumDigest::getSize (void) [inline], [virtual]
Implements ost::Digest.
void ost::ChecksumDigest::initDigest (void) [inline], [virtual]
Implements ost::Digest.
int ost::ChecksumDigest::overflow (intc) [protected]
void ost::ChecksumDigest::putDigest (const unsigned char *buffer, unsignedlength) [virtual]
Implements ost::Digest.
std::ostream& ost::ChecksumDigest::strDigest (std::ostream &os) [protected], [virtual]
Implements ost::Digest.
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::ChecksumDigest(3)
I have heard of something called a windows emulator that allows you to run windows programs in linux, does this realy work?
can I run any windows program (like a computer game)? and where can I get it :p (13 Replies)
hi,
does anyone knows how to trace a user session on a unix system:
i want to log these things
1- login
2- date of starting session
3- date of closing session
i've tryed who and last but they don't give closing time of session
regards
hmaiida (2 Replies)
Hi ,
I have several Linux Servers , and now i want to run a Central backup server. . I'm looking forward finding an enterprise solution for this affair .
there are different types of data on this servers, like : Mysql databases , mail server, web server , Cacti and MRTG graphs , ...
I find some... (1 Reply)
i would like to know how can i fine tune the following query since the cost of the query is too high ..
insert into temp temp_1 select a,b,c,d from xxxx
.. database used is IDS.. (1 Reply)
Does anyone still use modems for anything? Every now and then I see a web site that offers low res video for dial-up users. I wonder if any dial-up users still exist. But even if you have a wide band Internet connection,you might still use a modem for something else.
For the purposes of this... (13 Replies)
Hi, I want to read lines from a file, and I'm using two methods
1 use
while read line
do
done<filename
2 use
line=`sed -n '3p' filename`
however, in both of them, I notice that the tab between fields are automatically converted to space
because I want to use awk over the... (10 Replies)
Hi all,
I have a file in which each string from column 1 is associated with one or multiple strings from column 2. For an example, in the sample input below, Gene1 from column1 is associated with two different strings from column 2 (BP1 and BP2).For every unique string from column 1, I need to... (9 Replies)