MCPcopy Create free account
hub / github.com/davisking/dlib / has_field

Method has_field

dlib/matlab/mex_wrapper.cpp:4631–4638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4629 }
4630
4631 bool matlab_struct::has_field (
4632 const std::string& name
4633 ) const
4634 {
4635 if (struct_handle == 0)
4636 return false;
4637 return mxGetFieldNumber((const mxArray*)struct_handle, name.c_str()) != -1;
4638 }
4639
4640 bool matlab_struct::sub::has_field (
4641 const std::string& name

Callers 1

mex_functionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected