Skip to content

Commit a6b426e

Browse files
committed
adding first hash mapping example ..
1 parent dc78060 commit a6b426e

26 files changed

+144
-23
lines changed

HEADER

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* MIT License
33
*
4-
* PAXCC - Parse Any XML using C++
4+
* PAXCC - A pretty simple C++ Data Passenger
55
*
66
* Copyright (c) 2025 Christian ([email protected])
77
*

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
PAXCC - Parse Any XML using C++
3+
PAXCC - a pretty simple C++ Data Passenger
44

55
Copyright (c) 2025 Christian ([email protected])
66

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
1-
# paxcc
1+
# paxcc
2+
3+
_A pretty simple C++ Data Passenger_; PAX is an airborne code.
4+
5+
## Introduction
6+
7+
The PAX class is a C++ written _object tree_. It is the enabler for parsing
8+
any kind of -- hierarchically -- structured data to PAX; e.g. using XMLs SAX interfacing.
9+
10+
## ChangeLOG
11+
12+
- 250202 Adding _Visual Studio Code_ debugging configuration using g++ and gb.
13+
- 250201 Created the paxcc project and added make.

main.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,20 @@
2424
* DEALINGS IN THE SOFTWARE.
2525
*/
2626

27+
#include <iostream>
2728
#include "./paxcc/paxcc.h"
2829

30+
using namespace PAXCC;
31+
2932
int main( int arc, char** argv ) {
3033

34+
PaxMap pax;
35+
pax.put("Bob", "Dylan");
36+
int one = 1;
37+
pax.put("one", &one);
38+
std::cout << (char *)pax.get("Bob") << "; "
39+
<< *(int *)pax.get("one")
40+
<< std::endl << std::flush;;
41+
3142
return 0;
3243
} // main

paxcc/AAttribute.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* MIT License
33
*
4-
* PAXCC - Parse Any XML using C++
4+
* PAXCC - A pretty simple C++ Data Passenger
55
*
66
* Copyright (c) 2025 Christian ([email protected])
77
*

paxcc/AChildren.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* MIT License
33
*
4-
* PAXCC - Parse Any XML using C++
4+
* PAXCC - A pretty simple C++ Data Passenger
55
*
66
* Copyright (c) 2025 Christian ([email protected])
77
*

paxcc/AFactory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* MIT License
33
*
4-
* PAXCC - Parse Any XML using C++
4+
* PAXCC - A pretty simple C++ Data Passenger
55
*
66
* Copyright (c) 2025 Christian ([email protected])
77
*

paxcc/APax.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* MIT License
33
*
4-
* PAXCC - Parse Any XML using C++
4+
* PAXCC - A pretty simple C++ Data Passenger
55
*
66
* Copyright (c) 2025 Christian ([email protected])
77
*

paxcc/ASubSet.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* MIT License
33
*
4-
* PAXCC - Parse Any XML using C++
4+
* PAXCC - A pretty simple C++ Data Passenger
55
*
66
* Copyright (c) 2025 Christian ([email protected])
77
*

paxcc/Attribute.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* MIT License
33
*
4-
* PAXCC - Parse Any XML using C++
4+
* PAXCC - A pretty simple C++ Data Passenger
55
*
66
* Copyright (c) 2025 Christian ([email protected])
77
*

0 commit comments

Comments
 (0)