00001 /* 00002 * 00003 * Copyright (C) 1994-2010, OFFIS e.V. 00004 * All rights reserved. See COPYRIGHT file for details. 00005 * 00006 * This software and supporting documentation were developed by 00007 * 00008 * OFFIS e.V. 00009 * R&D Division Health 00010 * Escherweg 2 00011 * D-26121 Oldenburg, Germany 00012 * 00013 * 00014 * Module: dcmnet 00015 * 00016 * Author: Marco Eichelberg 00017 * 00018 * Purpose: 00019 * class DcmAssociationConfigurationFile 00020 * 00021 * Last Update: $Author: joergr $ 00022 * Update Date: $Date: 2010-10-14 13:17:21 $ 00023 * CVS/RCS Revision: $Revision: 1.3 $ 00024 * Status: $State: Exp $ 00025 * 00026 * CVS/RCS Log at end of file 00027 * 00028 */ 00029 00030 #ifndef DCASCCFF_H 00031 #define DCASCCFF_H 00032 00033 #include "dcmtk/config/osconfig.h" 00034 #include "dcmtk/ofstd/ofcond.h" /* for class OFCondition */ 00035 00036 class DcmAssociationConfiguration; 00037 class OFConfigFile; 00038 00042 class DcmAssociationConfigurationFile 00043 { 00044 public: 00045 00052 static OFCondition initialize( 00053 DcmAssociationConfiguration& cfg, 00054 const char *filename); 00055 00056 private: 00057 00063 static OFCondition parseTransferSyntaxes( 00064 DcmAssociationConfiguration& cfg, 00065 OFConfigFile& config); 00066 00072 static OFCondition parsePresentationContexts( 00073 DcmAssociationConfiguration& cfg, 00074 OFConfigFile& config); 00075 00081 static OFCondition parseRoleSelectionItems( 00082 DcmAssociationConfiguration& cfg, 00083 OFConfigFile& config); 00084 00090 static OFCondition parseExtendedNegotiationItems( 00091 DcmAssociationConfiguration& cfg, 00092 OFConfigFile& config); 00093 00099 static OFCondition parseProfiles( 00100 DcmAssociationConfiguration& cfg, 00101 OFConfigFile& config); 00102 00103 }; 00104 00105 #endif 00106 00107 /* 00108 * CVS/RCS Log 00109 * $Log: dcasccff.h,v $ 00110 * Revision 1.3 2010-10-14 13:17:21 joergr 00111 * Updated copyright header. Added reference to COPYRIGHT file. 00112 * 00113 * Revision 1.2 2005/12/08 16:02:08 meichel 00114 * Changed include path schema for all DCMTK header files 00115 * 00116 * Revision 1.1 2003/06/10 14:27:33 meichel 00117 * Initial release of class DcmAssociationConfiguration and support 00118 * classes. This class maintains a list of association negotiation 00119 * profiles that can be addressed by symbolic keys. The profiles may 00120 * be read from a configuration file. 00121 * 00122 * 00123 */