Dear me, many changes

Rewrote Lang (still does not work though!)
New String class funcs+name
Added Queue class
Added MD5 class + functions
This commit is contained in:
David Anderson
2004-08-15 10:53:48 +00:00
parent 76684e68c2
commit 3bbfca6d08
23 changed files with 1547 additions and 541 deletions

View File

@@ -32,7 +32,7 @@
#ifndef VAULT_CUSTOM_H
#define VAULT_CUSTOM_H
#include "CString.h"
#include "String.h"
#include "CList.h"
// *****************************************************
@@ -43,14 +43,14 @@ class Vault
{
struct Obj
{
CString key;
CString value;
String key;
String value;
int number;
Obj *next;
Obj( const char* k, const char* v);
} *head;
CString path;
String path;
Obj** find( const char* n );
@@ -79,8 +79,8 @@ public:
iterator& operator++() { if ( a ) a = a->next; return *this; }
bool operator==(const iterator& b) const { return a == b.a; }
bool operator!=(const iterator& b) const { return !operator==(b); }
CString& key() const { return a->key; }
CString& value() const { return a->value; }
String& key() const { return a->key; }
String& value() const { return a->value; }
};
inline iterator begin() const { return iterator(head); }