Ejemplo n.º 1
0
ParameterType ParametersReal::itemType( Index i )
{
	if (i>maxindex) return ParameterType();
	//TODO:
	throw std::runtime_error("Not Implemented");
}
Ejemplo n.º 2
0
EXPORT_C CTcStructure& CTcParameterList::AsStructureL( TInt aIndex ) const
	{
	__ASSERT_ALWAYS( ParameterType( aIndex ) == MTcTyped::EStructure,
					 User::Leave( KTcErrRequestCorrupt ) );
	return AsStructure( aIndex );
	}
Ejemplo n.º 3
0
EXPORT_C CTcNameValue& CTcParameterList::AsNameValueL( TInt aIndex ) const
	{
	__ASSERT_ALWAYS( ParameterType( aIndex ) == MTcTyped::ENameValue,
					 User::Leave( KTcErrRequestCorrupt ) );
	return AsNameValue( aIndex );
	}
Ejemplo n.º 4
0
EXPORT_C CTcArray& CTcParameterList::AsArrayL( TInt aIndex ) const
	{
	__ASSERT_ALWAYS( ParameterType( aIndex ) == MTcTyped::EArray,
					 User::Leave( KTcErrRequestCorrupt ) );
	return AsArray( aIndex );
	}