URL:
  <http://gna.org/task/?7636>

                 Summary: Submission of GNU Object Data Base Manager
                 Project: Gna! Administration
            Submitted by: peychart
            Submitted on: mer. 24 oct. 2012 15:28:33 TAHT
                  Status: None
         Approval Status: None
         Should Start On: mer. 24 oct. 2012 00:00:00 TAHT
   Should be Finished on: sam. 03 nov. 2012 00:00:00 TAHT
                Category: Project Approval
                Priority: 5 - Normal
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

A new project has been registered at Gna! 
This project account will remain inactive until a site admin approves or
discards the registration.


= Registration Administration =

While this item will be useful to track the registration process, *approving
or discarding the registration must be done using the specific Group
Administration <https://gna.org/siteadmin/groupedit.php?group_id=3411> page*,
accessible only to site administrators, effectively *logged as site
administrators* (superuser):

* Group Administration <https://gna.org/siteadmin/groupedit.php?group_id=3411>


= Registration Details =

* Name: *GNU Object Data Base Manager*
* System Name:  *gdbmpp*
* Type: Programs
* License: GNU General Public License V3 or later

----

==== Description: ====
The GNU DBM++ is under the licence GNU v3.
This library is a C++ interface for the GDBM library already existing (thus,
this package is needed).

It offers some additional features compared to gdbm:
- objects definition in the database,
- secondary indexes,
- and possibly (currently under study), the concept of triggers (on creation,
modification, deletion of objects) ...


==== Other Software Required: ====
Nothing except libgdbm.


==== Other Comments: ====
Only this for now:

#include<fstream>
#include<data.h>
using namespace dataType;

int main()
{    // Test of the class "data" + serialisation:
    std::ifstream    infile ( "serialize.db", std::ifstream::binary );
    std::ofstream    outfile( "serialize.db",
std::ifstream::trunc|std::ofstream::binary );

    data        mydata;
    ( (mydata = "This is a te") + "st..." ).serialize( outfile );
    ( (mydata = ''B') + 'a' - 'A' ).serialize( outfile );
    ( (mydata = 62) + 4 ).serialize( outfile );
    ( (mydata = 6.594) / 2.1 ).serialize( outfile );
    ( (mydata = false) + true ).serialize( outfile );
    outfile.close();

    mydata.deserialize( infile ); std::cout << mydata << std::endl;
    mydata.deserialize( infile ); std::cout << mydata << std::endl;
    mydata.deserialize( infile ); std::cout << mydata << std::endl;
    mydata.deserialize( infile ); std::cout << mydata << std::endl;
    mydata.deserialize( infile ); std::cout << mydata << std::endl;
    infile.close();

    return 0;
}

-->
This is a test...
b
66
3.14
1






    _______________________________________________________

Reply to this item at:

  <http://gna.org/task/?7636>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Register mailing list
[email protected]
https://mail.gna.org/listinfo/register

Reply via email to