5 // Created by Claudio Bisegni on 14/06/07.
6 // Copyright 2007 INFN - National Institute of Nuclear Physics. All rights reserved.
12 @implementation CellIp
13 // -------------------------------------------------------------------------------
15 // -------------------------------------------------------------------------------
23 // -------------------------------------------------------------------------------
25 // -------------------------------------------------------------------------------
28 if(ipComment) [ipComment release];
32 // -------------------------------------------------------------------------------
34 // -------------------------------------------------------------------------------
35 -(void)setCellIp:(NSString*)newip{
42 // -------------------------------------------------------------------------------
44 // -------------------------------------------------------------------------------
45 -(NSString*) getCellIp{
49 // -------------------------------------------------------------------------------
50 // setCellComment:(NSString*)newcomment
51 // -------------------------------------------------------------------------------
52 -(void)setCellComment:(NSString*)newcomment{
56 ipComment = [newcomment retain];
59 // -------------------------------------------------------------------------------
61 // -------------------------------------------------------------------------------
62 -(NSString*) getCellComment{
66 // -------------------------------------------------------------------------------
68 // -------------------------------------------------------------------------------
69 -(NSString*) description{
70 NSMutableString *desc = [[NSMutableString alloc] init];
72 [desc appendString:ip];[desc appendString:@" "];[desc appendString:@"#"];[desc appendString:ipComment];[desc appendString:@"\n"];