//
//  DCMPresentationDataValue.h
//  OsiriX
//
//  Created by Lance Pysher on 12/7/04.
//  Copyright 2004 Macrad, LLC. All rights reserved.
//

/*************
The networking code of the DCMFramework is predominantly a port of the 11/4/04 version of the java pixelmed toolkit by David Clunie.
htt://www.pixelmed.com   
**************/

#import <Cocoa/Cocoa.h>


@interface DCMPresentationDataValue : NSObject {

NSData *value;
NSMutableData *pdv;
unsigned int length;
unsigned char presentationContextID;
unsigned char messageControlHeader;

}
+ (id)pdvWithParameters:(NSDictionary *)params;
+ (id) pdvWithData:(NSData *)data offset:(int)offset  length:(int)aLength;
+ (id) pdvWithData:(NSData *)data;
- (id)initWithParameters:(NSDictionary *)params;
- (id)initWithData:(NSData *)data offset:(int)offset  length:(int)aLength;
- (id)initWithData:(NSData *)data;
- (NSData *)pdv;
- (NSData *)value;
- (BOOL)isLastFragment;
- (BOOL) isCommand;
- (unsigned char)presentationContextID;
@end
