Show
Ignore:
Timestamp:
10/01/06 00:04:05 (2 years ago)
Author:
ug
Message:

Minor fixes (namespaces, Borland compatibility, sqlite_busy_timeout, ...).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 06/libkombilo/sgfparser.h

    r188 r191  
    3030#include <stack> 
    3131#include <map> 
    32 using namespace std; 
    3332 
    34 typedef pair<char,char> p_cc; 
     33typedef std::pair<char,char> p_cc; 
    3534 
    3635class SGFError { 
     
    6867    int numChildren; 
    6968    int level; 
    70     string SGFstring; 
     69    std::string SGFstring; 
    7170    int parsed; 
    72     vector<string> gpv(const string& prop); 
    73     vector<string>* get_property_value(const string& prop); 
    74     void set_property_value(string& ID, vector<string>* propValue) throw(SGFError); 
     71    std::vector<std::string> gpv(const std::string& prop); 
     72    std::vector<std::string>* get_property_value(const std::string& prop); 
     73    void set_property_value(std::string& ID, std::vector<std::string>* propValue) throw(SGFError); 
    7574 
    7675    int posyD; // used when displaying SGF structure graphically as a tree 
     
    8281    static int sloppy; 
    8382  private: 
    84     map<string, vector<string>* > data; // use get_property_value to access this 
     83    std::map<std::string, std::vector<std::string>* > data; // use get_property_value to access this 
    8584}; 
    8685 
     
    139138}; 
    140139 
    141 string nodeToString(map<string, vector<string>* >& data) throw(SGFError); 
     140std::string nodeToString(std::map<std::string, std::vector<std::string>* >& data) throw(SGFError); 
    142141// char* rootNodeToString(PyObject* data); 
    143142