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

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

Serving Software Downloads in 976 Categories, Downloaded 30.066.889 Times

CSer 0.0.1

  Date Added: September 08, 2010  |  Visits: 490

CSer

Report Broken Link
Printer Friendly Version


Product Homepage
Download (71 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
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  -  ftplibpp 2.0.2
ftplib++ contains a c++ class providing ftp client functionality. ftplibpp library supports all basic ftp functionality plus some advanced features like resuming, fxp, ssl/tls encryption, large file support, or logging to fit todays standards....
27.65 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.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...
2.73 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