Panda3D

Public Member Functions | Public Attributes | List of all members
DCSwitch::SwitchCase Class Reference

## Public Member Functions
| SwitchCase (const std::vector< unsigned char > &value, SwitchFields *fields)
bool | do_check_match_switch_case (const SwitchCase *other) const
| Returns true if this case matches the indicated case, false otherwise. More...

## Public Attributes
SwitchFields * | _fields
std::vector< unsigned char > | _value

## Detailed Description

Definition at line 99 of file dcSwitch.h.

## Member Function Documentation

## ◆ do_check_match_switch_case()

bool DCSwitch::SwitchCase::do_check_match_switch_case | ( | const SwitchCase * | other | ) | const

Returns true if this case matches the indicated case, false otherwise.

This is only intended to be called internally from DCSwitch::do_check_match_switch().

Definition at line 724 of file dcSwitch.cxx.

The documentation for this class was generated from the following files:

- direct/src/dcparser/dcSwitch.h
- direct/src/dcparser/dcSwitch.cxx