Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

SEDRIS Transmittal Access C++ API

4.0.0 beta

Introduction

This is the documentation for the SEDRIS Transmittal Access C++ API. This release is based on the SEDRIS SDK Release 4.0.

All classes in this API use the sedris namespace (link available in the "See also" section below).

The starting point for accessing SEDRIS transmittals using the interfaces described in this document is the sedris::seWorkspace class, which includes sample code detailing the use of that class in conjunction with the sedris::seTransmittal class.

A very simple program to open the "test.stf" transmittal and print the DRM version in the <Transmittal_Root> object is:

#include <iostream.h>

#include "seWorkspace.h"
#include "seTransmittal.h"
#include "seDRMTransmittalRoot.h"

using namespace sedris;

int main( int argc, char *argv[] )
{
    try
    {
        seWorkspace wksp;
        seTransmittal xmtal;
        seDRMTransmittalRoot troot_obj;

        wksp.openTransmittalByFile("transmittals/test.stf", xmtal);
        xmtal.getRootObject(troot_obj);
        std::cout << "Transmittal DRM version is "
            << troot_obj.get_major_DRM_version() << "."
            << (int) troot_obj.get_minor_DRM_version() << " "
            << std::endl;
        return 0;
    }
    catch ( seException &e )
    {
        std::cerr << "Error - " << e.getWhat() << std::endl;
        return 1;
    }
}

More information on SEDRIS can be found at http://www.sedris.org . The latest SEDRIS SDK is available at http://www.sedris.org/sdk .

See also:
sedris, sedris::seWorkspace, sedris::seTransmittal, sedris::seObject, sedris::seIterator
Author:
Warren Macchi (Accent Geographic)

SEDRIS Transmittal Access C++ API 4.0.0 beta - 14 Jul 2004
Copyright © 2004 SEDRIS Docs by Doxygen 1.3.2