Public Member Functions | Public Attributes | Private Member Functions

RDFArguments Class Reference

A class purely to pass redland objects like world, parsers and models and other redland stuff to other methods without exposing their types in the header file. More...

#include <pd_RDFSupportRed.h>

List of all members.

Public Member Functions

 RDFArguments ()
 ~RDFArguments ()

Public Attributes

librdf_world * world
librdf_storage * storage
librdf_model * model
librdf_parser * parser

Private Member Functions

RDFArgumentsoperator= (const RDFArguments &other)
 RDFArguments (const RDFArguments &other)

Detailed Description

A class purely to pass redland objects like world, parsers and models and other redland stuff to other methods without exposing their types in the header file.

Instead of passing in these things to the constructor, I moved to a design where the objects are owned by this class, so if you declaure a RDFArguments on the stack, RAII will deallocate the world, parser, and model for you. Less to possibly leak.


Constructor & Destructor Documentation

RDFArguments::RDFArguments (  ) 
RDFArguments::~RDFArguments (  ) 
RDFArguments::RDFArguments ( const RDFArguments other  )  [private]

Member Function Documentation

RDFArguments& RDFArguments::operator= ( const RDFArguments other  )  [private]

Member Data Documentation

librdf_model* RDFArguments::model
librdf_parser* RDFArguments::parser
librdf_storage* RDFArguments::storage
librdf_world* RDFArguments::world

The documentation for this class was generated from the following file: