• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/common/

Lines Matching defs:propertyName

482 void wxClassInfo::SetProperty(wxObject *object, const wxChar *propertyName, const wxxVariant &value) const
486 accessor = FindAccessor(propertyName);
491 wxxVariant wxClassInfo::GetProperty(wxObject *object, const wxChar *propertyName) const
495 accessor = FindAccessor(propertyName);
502 wxxVariantArray wxClassInfo::GetPropertyCollection(wxObject *object, const wxChar *propertyName) const
506 accessor = FindAccessor(propertyName);
513 void wxClassInfo::AddToPropertyCollection(wxObject *object, const wxChar *propertyName , const wxxVariant& value) const
517 accessor = FindAccessor(propertyName);
597 void wxDynamicObject::SetProperty (const wxChar *propertyName, const wxxVariant &value)
599 wxASSERT_MSG(m_classInfo->FindPropertyInfoInThisClass(propertyName),wxT("Accessing Unknown Property in a Dynamic Object") ) ;
600 m_data->m_properties[propertyName] = value ;
603 wxxVariant wxDynamicObject::GetProperty (const wxChar *propertyName) const
605 wxASSERT_MSG(m_classInfo->FindPropertyInfoInThisClass(propertyName),wxT("Accessing Unknown Property in a Dynamic Object") ) ;
606 return m_data->m_properties[propertyName] ;
609 void wxDynamicObject::RemoveProperty( const wxChar *propertyName )
611 wxASSERT_MSG(m_classInfo->FindPropertyInfoInThisClass(propertyName),wxT("Removing Unknown Property in a Dynamic Object") ) ;
612 m_data->m_properties.erase( propertyName ) ;
669 void wxDynamicClassInfo::SetProperty(wxObject *object, const wxChar *propertyName, const wxxVariant &value) const
673 if ( FindPropertyInfoInThisClass(propertyName) )
674 dynobj->SetProperty( propertyName , value ) ;
676 GetParents()[0]->SetProperty( dynobj->GetSuperClassInstance() , propertyName , value ) ;
679 wxxVariant wxDynamicClassInfo::GetProperty(wxObject *object, const wxChar *propertyName) const
683 if ( FindPropertyInfoInThisClass(propertyName) )
684 return dynobj->GetProperty( propertyName ) ;
686 return GetParents()[0]->GetProperty( dynobj->GetSuperClassInstance() , propertyName ) ;
689 void wxDynamicClassInfo::AddProperty( const wxChar *propertyName , const wxTypeInfo* typeInfo )
691 new wxPropertyInfo( m_firstProperty , this , propertyName , typeInfo->GetTypeName() , new wxGenericPropertyAccessor( propertyName ) , wxxVariant() ) ;
700 void wxDynamicClassInfo::RemoveProperty( const wxChar *propertyName )
703 (*iter)->RemoveProperty( propertyName ) ;
704 delete FindPropertyInfoInThisClass(propertyName) ;
740 wxGenericPropertyAccessor::wxGenericPropertyAccessor( const wxString& propertyName )
744 m_propertyName = propertyName ;
745 m_getterName = wxT("Get")+propertyName ;
746 m_setterName = wxT("Set")+propertyName ;