#include <shader_map.h>
Public Types |
|
| enum |
Status_code { OK = 0, Insufficient_memory, No_such_field, Out_of_bounds, No_declaration, Declaration_mismatch, Wrong_dimension, File_could_not_be_opened = 16, File_not_a_map, File_version_unsupported, Field_undefined = 32, Field_name_too_long, Field_name_empty, Field_name_illegal, Field_null_array, Field_type_mismatch, Field_illegal, Iterator_invalid = 48, Iterator_past_end, Iterator_out_of_bounds, Lookup_invalid = 64, Lookup_past_end, Lookup_out_of_bounds, Lookup_dimension_mismatch } |
| all the status codes.
More... |
|
Public Member Functions |
|
| Map_status () | |
| constructor, initializes to OK. |
|
| Map_status ( Status_code status) | |
| constructor from a Status_code. |
|
| Map_status (const Map_status &status) | |
| copy constructor. |
|
| Map_status & | operator= (const Status_code &rhs) |
| copy assignment operator (Status_code).
|
|
| Map_status & | operator= (const Map_status &rhs) |
| copy assignment operator (Map_status). |
|
| bool | operator== (const Status_code rhs) const |
| equality operator (Status_code). |
|
| bool | operator== (const Map_status &rhs) const |
| equality operator (Map_status). |
|
| bool | operator!= (const Status_code rhs) const |
| inequality operator (Status_code). |
|
| bool | operator!= (const Map_status &rhs) const |
| inequality operator (Map_status). |
|
| bool | is_ok () const |
| returns if the status is OK or not. |
|
| Status_code | status () const |
| returns the status code as Status_code.
|
|
The Map_status is an enumerative class which is meant to list all possible error conditions for the Map-related classes and methods.
all the status codes.
| mi::shader_v3::Map_status::Map_status | ( | Status_code | status | ) | [inline] |
constructor from a Status_code.
| status | is the assigned Status_code |
| mi::shader_v3::Map_status::Map_status | ( | const Map_status & | status | ) | [inline] |
copy constructor.
| status | is the Map_status to copy |
| Map_status& mi::shader_v3::Map_status::operator= | ( | const Status_code & | rhs | ) | [inline] |
copy assignment operator (Status_code).
| rhs | the Status_code to copy |
| Map_status& mi::shader_v3::Map_status::operator= | ( | const Map_status & | rhs | ) | [inline] |
copy assignment operator (Map_status).
| rhs | the Map_status to copy |
References m_status.
| bool mi::shader_v3::Map_status::operator== | ( | const Status_code | rhs | ) | const [inline] |
equality operator (Status_code).
| rhs | is the Status_code to compare to |
| bool mi::shader_v3::Map_status::operator== | ( | const Map_status & | rhs | ) | const [inline] |
equality operator (Map_status).
| rhs | is the Map_status to compare to |
References m_status.
| bool mi::shader_v3::Map_status::operator!= | ( | const Status_code | rhs | ) | const [inline] |
inequality operator (Status_code).
| rhs | is the Status_code to compare to |
| bool mi::shader_v3::Map_status::operator!= | ( | const Map_status & | rhs | ) | const [inline] |
inequality operator (Map_status).
| rhs | is the Map_status to compare to |
References m_status.
| bool mi::shader_v3::Map_status::is_ok | ( | ) | const [inline] |
| Status_code mi::shader_v3::Map_status::status | ( | ) | const [inline] |
returns the status code as Status_code.
Copyright © 1986-2010 by
mental images GmbH