Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
WorkerDataGeneral::setSex Method

Sets the sex of the worker.

C++
void setSex(
    Sex::sex_type newSex
);
Parameters 
Description 
Sex::sex_type newSex 
New sex indicator. 
Exceptions 
Description 
PiaException of type PIA_IDS_SEX if sex is not MALE or FEMALE (only in debug mode). 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!