Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.349.793 Times

CSer 0.0.1

  Date Added: September 08, 2010  |  Visits: 625

CSer

Report Broken Link
Printer Friendly Version


Product Homepage
Download (86 downloads)



CSer is a library for C++ serialization, also called persistence. This isnt quite a simple as you might think, since one object may be pointed to by multiple other objects. How does it work? Writing out integers and character strings is fairly straightforward. The trick is dealing with objects, and pointers to them. Serialization of these involves assigning a unique ID # to each object as it is written, and in keeping a lookup table that maps each object to its ID. That way, when an object is encountered a second time (because something else is pointing to it), only its ID is written. And when the network is read back in, CSer knows to only recreate the object once, and to use its pointer when its ID is encountered thereafter. How do I use it? Sorry for the lack of documentation. For a quick start, see the test1.cc example included in the source. Here is a brief list of the steps you need to take (also listed in the README): 1. #include "CSer.h" 2. Derive from "Serializable". 3. Add a "CSER_DECLARE(Myclass);" in the public part of class MyClass. 4. Add a "CSER_REGISTER(Myclass);" in the .cc file for your class. 5. Add methods "void write(CSer_out&) and void read(CSer_in&) to your class. NOTE: If an object instance is part of another object (composition), then you must write/read the object itself before writing/reading any pointers to it. See ClassC in test1.cc as an example. 6. Your class must also have a constructor taking no arguments..

Requirements: No special requirements
Platforms: Linux
Keyword: C++ Class Cser Id Libraries Library Object Programming Serialization
Users rating: 0/10

License: Freeware Size: 112.64 KB
USER REVIEWS
More Reviews or Write Review


CSER RELATED
Libraries  -  MIBA Consulting General System Library 1.0
MIBA Consulting General System Library is a collection of cross-platform C++ class libraries. Provides thread, IPC, file, network, SNMP (net-snmp) and Database (MySQL) interfaces. Comes with the usual array of utility classes - smart pointers,...
204.8 KB  
Programming  -  Portable Object Compiler 0.2.2
Portable Object Compiler project consists of a set of Objective-C class libraries and a precompiler (translator) that generates plain C code..
839.68 KB  
Libraries  -  Rudiments 0.30
Rudiments is a C++ class library providing base classes for things such as daemons, clients, and servers, and wrapper classes for the standard C functions for things like semaphores, regular expressions, and signal handling. In the early days of...
593.92 KB  
Libraries  -  COID 0.8.5
COID is a C++ object-serving networking library, with tool that automatically generates a lightweight communication layer directly from the C++ class declarations. Instantly functioning remote callability for virtually any C++ class can be...
450.56 KB  
Libraries  -  Jakelib2 2.0.1
Jakelib2 is a cross platform C++ class library with a Java-like API. An automatic garbage collector is used to take care of unused objects. External libraries like PCRE or GTK+ are beeing integrated to provide the programmer with a homogeneous,...
962.56 KB  
Libraries  -  CGIParse 0.0.1
CGIParse project is a C++ class library for parsing the input of a cgi program. Starting To start using CGIParse you first have to include the cgiparse.h header: #include Thereafter you have to define the CGIParse object:...
3.07 KB  
Libraries  -  JUCE 1.44
JUCE is an all-encompassing C++ class library for developing cross-platform applications. JUCE is good for creating highly-specialised user interfaces and for handling graphics and sound. The intended users are developers who are building large,...
3.7 MB  
Libraries  -  libtcp++ 0.1.2
libtcp++ is a C++ class library to facilitate the creation of TCP/IP clients and servers. libtcp++ has three classes, TcpClient, TcpServer and TcpIpRuleSet. TcpServer has build it logging capability peer detection method, and IP-based access...
69.63 KB  
Libraries  -  VMime 0.8.0
VMime is a powerful C++ class library for parsing, generating, or editing Internet RFC-[2]822 and MIME messages. VMime is designed to provide a fast and an easy way to manipulate Internet mail messages. The recent releases of VMime also include...
450.56 KB  
Libraries  -  GLC_lib 0.9.6
GLC_lib is a C++ class library that enables the quick creation of an OpenGL application based on QT4. GLC_lib is free software released under GNU-GPL license..
102.4 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB