Panda3D
Loading...
Searching...
No Matches
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.
 

Public Attributes

SwitchFields_fields
 
std::vector< unsigned char > _value
 

Detailed Description

Definition at line 99 of file dcSwitch.h.

Constructor & Destructor Documentation

◆ SwitchCase()

DCSwitch::SwitchCase::SwitchCase ( const std::vector< unsigned char > & value,
DCSwitch::SwitchFields * fields )

Definition at line 705 of file dcSwitch.cxx.

◆ ~SwitchCase()

DCSwitch::SwitchCase::~SwitchCase ( )

Definition at line 715 of file dcSwitch.cxx.

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.

Referenced by DCSwitch::do_check_match_switch().

Member Data Documentation

◆ _fields

SwitchFields* DCSwitch::SwitchCase::_fields

Definition at line 108 of file dcSwitch.h.

◆ _value

std::vector<unsigned char> DCSwitch::SwitchCase::_value

Definition at line 107 of file dcSwitch.h.


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