Class BytesizeComputationForSignature
java.lang.Object
de.uka.ipd.sdq.pcm.transformations.BytesizeComputationForSignature
Responsible for determining a bytesize characterisation string for parameters in a signature.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getBytesizeForSignature
(org.palladiosimulator.pcm.repository.OperationSignature sig, BytesizeComputationForSignature.Modifier mod) Composes a String, which includes the sum of BYTESIZE characterisation strings for all the parameters of a given signature.
-
Constructor Details
-
BytesizeComputationForSignature
public BytesizeComputationForSignature()
-
-
Method Details
-
getBytesizeForSignature
public static String getBytesizeForSignature(org.palladiosimulator.pcm.repository.OperationSignature sig, BytesizeComputationForSignature.Modifier mod) Composes a String, which includes the sum of BYTESIZE characterisation strings for all the parameters of a given signature. For example:void foo(int bar, File blub)
would be tranformed into"bar.BYTESIZE + blub.BYTESIZE"
- Parameters:
sig
-mod
-- Returns:
-