Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
Sex::check Method

Checks sex.

C++
static void check(
    int newSex
);
Parameters 
Description 
int newSex 
The sex value to check. 
Exceptions 
Description 
PiaException of type PIA_IDS_SEX if the argument is not Sex::sex_type::MALE or Sex::sex_type::FEMALE.  
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!