public WriteParms( ) { WriteRandomParms tempRandom = new WriteRandomParms(); WriteSequentialParms tempSequential = new WriteSequentialParms(); UInt32 max = 0; // arbitrarily default to one of the lengths max = tempSequential.length; if (tempRandom.length > max) { max = tempRandom.length; } this.length_ = this.length_ + max; }
public QTParms( ) { WriteRandomParms tempRandom = new WriteRandomParms(); WriteSequentialParms tempSequential = new WriteSequentialParms(); ReadCmdParms tempRead = new ReadCmdParms(); UInt32 max = 0; // arbitrarily default to one of the lengths max = tempSequential.length; // account for randomParms being larger if (tempRandom.length > max) { max = tempRandom.length; } // account for readParms being larger if (tempRead.length > max) { max = tempRead.length; } this.length_ = this.length_ + max; }