FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
size_t FB::JSAPIAuto::getMemberCount ( ) const
virtual

Gets the member count.

Returns
The member count.

Implements FB::JSAPI.

Definition at line 135 of file JSAPIAuto.cpp.

136 {
137  boost::recursive_mutex::scoped_lock lock(m_zoneMutex);
138  size_t count = 0;
139  for (ZoneMap::const_iterator it = m_zoneMap.begin(); it != m_zoneMap.end(); ++it) {
140  if (getZone() >= it->second)
141  ++count;
142  }
143  return count;
144 }
virtual SecurityZone getZone() const
Gets the currently active zone.
Definition: JSAPIImpl.h:238