Collapse All

Anypia Programmer's Documentation |  |

WorkerDataGeneral::setSex Method
WorkerDataGeneral Class WorkerDataGeneral Members WorkerDataGeneral Methods Send Feedback

Sets the sex of the worker.

C++

    void setSex(
        Sex::sex_type newSex
    );

Parameters

Parameters | Description
Sex::sex_type newSex | New sex indicator.

Exceptions

Exceptions | Description
PiaException | PiaException of type PIA_IDS_SEX if sex is not MALE or FEMALE (only in debug mode).

Group

WorkerDataGeneral Methods

Links
WorkerDataGeneral Class, WorkerDataGeneral Members, WorkerDataGeneral Methods

Copyright (c) 2010. All rights reserved.
Contents | Index | Home
What do you think about this topic? Send feedback!