Exemplo n.º 1
0
TText CCntItemBuilder::RandomCharCode(TText aLowerBound,TText aUpperBound,TText aException)
{
    TText charCode = 0;
    do
    {
        charCode = RandomCharCode(aLowerBound,aUpperBound);
    }
    while (charCode == aException);

    return charCode;
}
Exemplo n.º 2
0
//------------------------------------------------------------------------------------------------------------   
TText CPerfDbCreator::RandomCharCode(TText aLowerBound,TText aUpperBound,TText aException)
	{
	TText charCode=0;
	
	do
		{
		charCode=RandomCharCode(aLowerBound,aUpperBound);
		}
		while (charCode==aException);

	return charCode;
	}
Exemplo n.º 3
0
TText CCntItemBuilder::RandomAlphaNumbericCharCode()
{
    return RandomCharCode('0','z',' ');
}
Exemplo n.º 4
0
TText CCntItemBuilder::RandomNumericCharCode()
{
    return RandomCharCode('0','9',' ');
}
Exemplo n.º 5
0
TText CCntItemBuilder::RandomAlphaCharCode()
{
    return RandomCharCode('A','z',' ');
}
Exemplo n.º 6
0
//------------------------------------------------------------------------------------------------------------   
TText CPerfDbCreator::RandomAlphaNumbericCharCode()
	{
	return RandomCharCode('0','z',' ');
	}
Exemplo n.º 7
0
//------------------------------------------------------------------------------------------------------------   
TText CPerfDbCreator::RandomNumericCharCode()
	{
	return RandomCharCode('0','9',' ');
	}
Exemplo n.º 8
0
//------------------------------------------------------------------------------------------------------------   
TText CPerfDbCreator::RandomAlphaCharCode()
	{
	return RandomCharCode('A','z',' ');
	}