public void MarshalSaHpiNameT( SaHpiNameT x ) { MarshalSaHpiUint16T( x.Length ); MarshalByteArray( x.Value, HpiConst.SA_HPI_MAX_NAME_LENGTH ); }
public SaHpiNameT DemarshalSaHpiNameT() { SaHpiNameT x = new SaHpiNameT(); x.Length = DemarshalSaHpiUint16T(); x.Value = DemarshalByteArray( HpiConst.SA_HPI_MAX_NAME_LENGTH ); return x; }
/** * Check function for HPI struct SaHpiNameT */ public static bool Check( SaHpiNameT x ) { if ( x == null ) { return false; } if ( x.Value == null ) { return false; } if ( x.Value.Length != HpiConst.SA_HPI_MAX_NAME_LENGTH ) { return false; } return true; }