/usr/include/dcmtk/dcmfg/stackinterface.h is in libdcmtk-dev 3.6.2-3build3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | /*
*
* Copyright (C) 2015, Open Connections GmbH
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation are maintained by
*
* OFFIS e.V.
* R&D Division Health
* Escherweg 2
* D-26121 Oldenburg, Germany
*
*
* Module: dcmfg
*
* Author: Michael Onken
*
* Purpose: Class for reading, accessing and writing stacks
*
*/
#ifndef STACKINTERFACE_H
#define STACKINTERFACE_H
#include "dcmtk/config/osconfig.h"
#include "dcmtk/ofstd/ofmap.h"
#include "dcmtk/ofstd/ofstring.h"
#include "dcmtk/dcmdata/dctk.h"
#include "dcmtk/dcmfg/fginterface.h"
#include "dcmtk/dcmfg/stack.h"
// Forward declaration
class FGFrameContent;
/** Class for convenient access of stacks within an Enhanced DICOM object
*/
class DCMTK_DCMFG_EXPORT FGStackInterface
{
public:
FGStackInterface();
OFBool checkConsistency(FGInterface* fgContext = NULL);
virtual void clear();
virtual ~FGStackInterface();
virtual OFBool addStack(FGStack* stack);
virtual OFCondition read(FGInterface& fgSource);
virtual OFCondition write(FGInterface& fgDestination);
size_t numStacks() const;
protected:
FGFrameContent* ensureFrameContentFG(const Uint32 frameNo,
FGInterface& fg);
// Returns number of errors
virtual size_t checkContext(FGStack* stack,
FGInterface* context);
private:
/// The stacks found
OFMap<OFString, FGStack*> m_Stacks;
};
#endif // STACKINTERFACE_H
|