Example #1
0
SWIGEXPORT void * D_OverlayManager_createOverlayElement__SWIG_0(void * jarg1, char * jarg2, char * jarg3, unsigned int jarg4) {
  void * jresult ;
  Ogre::OverlayManager *arg1 = (Ogre::OverlayManager *) 0 ;
  Ogre::String *arg2 = 0 ;
  Ogre::String *arg3 = 0 ;
  bool arg4 ;
  Ogre::OverlayElement *result = 0 ;
  
  arg1 = (Ogre::OverlayManager *)jarg1;
  if (!jarg2) {
    SWIG_DSetPendingException(SWIG_DIllegalArgumentException, "null string");
    return 0;
  }
  Ogre::String arg2_str(jarg2);
  arg2 = &arg2_str; 
  if (!jarg3) {
    SWIG_DSetPendingException(SWIG_DIllegalArgumentException, "null string");
    return 0;
  }
  Ogre::String arg3_str(jarg3);
  arg3 = &arg3_str; 
  arg4 = jarg4 ? true : false;
  result = (Ogre::OverlayElement *)(arg1)->createOverlayElement((Ogre::String const &)*arg2,(Ogre::String const &)*arg3,arg4);
  jresult = (void *)result;
  return jresult;
}
Example #2
0
SWIGEXPORT void * D_OverlayManager_createOverlayElementFromTemplate__SWIG_1(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
  void * jresult ;
  Ogre::OverlayManager *arg1 = (Ogre::OverlayManager *) 0 ;
  Ogre::String *arg2 = 0 ;
  Ogre::String *arg3 = 0 ;
  Ogre::String *arg4 = 0 ;
  Ogre::OverlayElement *result = 0 ;
  
  arg1 = (Ogre::OverlayManager *)jarg1;
  if (!jarg2) {
    SWIG_DSetPendingException(SWIG_DIllegalArgumentException, "null string");
    return 0;
  }
  Ogre::String arg2_str(jarg2);
  arg2 = &arg2_str; 
  if (!jarg3) {
    SWIG_DSetPendingException(SWIG_DIllegalArgumentException, "null string");
    return 0;
  }
  Ogre::String arg3_str(jarg3);
  arg3 = &arg3_str; 
  if (!jarg4) {
    SWIG_DSetPendingException(SWIG_DIllegalArgumentException, "null string");
    return 0;
  }
  Ogre::String arg4_str(jarg4);
  arg4 = &arg4_str; 
  result = (Ogre::OverlayElement *)(arg1)->createOverlayElementFromTemplate((Ogre::String const &)*arg2,(Ogre::String const &)*arg3,(Ogre::String const &)*arg4);
  jresult = (void *)result;
  return jresult;
}
Example #3
0
SWIGEXPORT void D_ResourceManager_remove__SWIG_1(void * jarg1, char * jarg2) {
  Ogre::ResourceManager *arg1 = (Ogre::ResourceManager *) 0 ;
  Ogre::String *arg2 = 0 ;
  
  arg1 = (Ogre::ResourceManager *)jarg1;
  if (!jarg2) {
    SWIG_DSetPendingException(SWIG_DIllegalArgumentException, "null string");
    return ;
  }
  Ogre::String arg2_str(jarg2);
  arg2 = &arg2_str; 
  (arg1)->remove((Ogre::String const &)*arg2);
}
Example #4
0
SWIGEXPORT void D_OverlayManager_destroyOverlayElement__SWIG_1(void * jarg1, char * jarg2) {
  Ogre::OverlayManager *arg1 = (Ogre::OverlayManager *) 0 ;
  Ogre::String *arg2 = 0 ;
  
  arg1 = (Ogre::OverlayManager *)jarg1;
  if (!jarg2) {
    SWIG_DSetPendingException(SWIG_DIllegalArgumentException, "null string");
    return ;
  }
  Ogre::String arg2_str(jarg2);
  arg2 = &arg2_str; 
  (arg1)->destroyOverlayElement((Ogre::String const &)*arg2);
}
Example #5
0
SWIGEXPORT void D_Technique_setName(void * jarg1, char * jarg2) {
  Ogre::Technique *arg1 = (Ogre::Technique *) 0 ;
  Ogre::String *arg2 = 0 ;
  
  arg1 = (Ogre::Technique *)jarg1;
  if (!jarg2) {
    SWIG_DSetPendingException(SWIG_DIllegalArgumentException, "null string");
    return ;
  }
  Ogre::String arg2_str(jarg2);
  arg2 = &arg2_str; 
  (arg1)->setName((Ogre::String const &)*arg2);
}
Example #6
0
SWIGEXPORT void D_OverlayManager_destroyOverlayElement__SWIG_0(void * jarg1, char * jarg2, unsigned int jarg3) {
  Ogre::OverlayManager *arg1 = (Ogre::OverlayManager *) 0 ;
  Ogre::String *arg2 = 0 ;
  bool arg3 ;
  
  arg1 = (Ogre::OverlayManager *)jarg1;
  if (!jarg2) {
    SWIG_DSetPendingException(SWIG_DIllegalArgumentException, "null string");
    return ;
  }
  Ogre::String arg2_str(jarg2);
  arg2 = &arg2_str; 
  arg3 = jarg3 ? true : false;
  (arg1)->destroyOverlayElement((Ogre::String const &)*arg2,arg3);
}
Example #7
0
SWIGEXPORT void * D_ResourceManager_getByName__SWIG_1(void * jarg1, char * jarg2) {
  void * jresult ;
  Ogre::ResourceManager *arg1 = (Ogre::ResourceManager *) 0 ;
  Ogre::String *arg2 = 0 ;
  SwigValueWrapper< Ogre::SharedPtr< Ogre::Resource > > result;
  
  arg1 = (Ogre::ResourceManager *)jarg1;
  if (!jarg2) {
    SWIG_DSetPendingException(SWIG_DIllegalArgumentException, "null string");
    return 0;
  }
  Ogre::String arg2_str(jarg2);
  arg2 = &arg2_str; 
  result = (arg1)->getByName((Ogre::String const &)*arg2);
  jresult = new Ogre::ResourcePtr((const Ogre::ResourcePtr &)result); 
  return jresult;
}
Example #8
0
SWIGEXPORT unsigned int D_OverlayManager_hasOverlayElement__SWIG_1(void * jarg1, char * jarg2) {
  unsigned int jresult ;
  Ogre::OverlayManager *arg1 = (Ogre::OverlayManager *) 0 ;
  Ogre::String *arg2 = 0 ;
  bool result;
  
  arg1 = (Ogre::OverlayManager *)jarg1;
  if (!jarg2) {
    SWIG_DSetPendingException(SWIG_DIllegalArgumentException, "null string");
    return 0;
  }
  Ogre::String arg2_str(jarg2);
  arg2 = &arg2_str; 
  result = (bool)(arg1)->hasOverlayElement((Ogre::String const &)*arg2);
  jresult = result;
  return jresult;
}
Example #9
0
SWIGEXPORT void * D_OverlayManager_getOverlayElement__SWIG_1(void * jarg1, char * jarg2) {
  void * jresult ;
  Ogre::OverlayManager *arg1 = (Ogre::OverlayManager *) 0 ;
  Ogre::String *arg2 = 0 ;
  Ogre::OverlayElement *result = 0 ;
  
  arg1 = (Ogre::OverlayManager *)jarg1;
  if (!jarg2) {
    SWIG_DSetPendingException(SWIG_DIllegalArgumentException, "null string");
    return 0;
  }
  Ogre::String arg2_str(jarg2);
  arg2 = &arg2_str; 
  result = (Ogre::OverlayElement *)(arg1)->getOverlayElement((Ogre::String const &)*arg2);
  jresult = (void *)result;
  return jresult;
}
Example #10
0
SWIGEXPORT void * D_Technique_getPass__SWIG_1(void * jarg1, char * jarg2) {
  void * jresult ;
  Ogre::Technique *arg1 = (Ogre::Technique *) 0 ;
  Ogre::String *arg2 = 0 ;
  Ogre::Pass *result = 0 ;
  
  arg1 = (Ogre::Technique *)jarg1;
  if (!jarg2) {
    SWIG_DSetPendingException(SWIG_DIllegalArgumentException, "null string");
    return 0;
  }
  Ogre::String arg2_str(jarg2);
  arg2 = &arg2_str; 
  result = (Ogre::Pass *)(arg1)->getPass((Ogre::String const &)*arg2);
  jresult = (void *)result;
  return jresult;
}
SWIGEXPORT void JNICALL Java_org_dobots_avgbrightnessmodule_aim_AIMJNI_Param_1module_1id_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  rur::Param *arg1 = (rur::Param *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(rur::Param **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if (arg1) (arg1)->module_id = *arg2;
}
Example #12
0
SWIGEXPORT void JNICALL Java_net_osmand_bridge_CoreOsmAndJNI_StringVector_1add(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
  std::vector< std::string >::value_type *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(std::vector< std::string > **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::vector< std::string >::value_type arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->push_back((std::vector< std::string >::value_type const &)*arg2);
}
SWIGEXPORT void JNICALL Java_org_dobots_bmptojpgmodule_aim_AIMJNI_AndroidJpgRead_1t_1val_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  rur::AndroidJpgRead_t *arg1 = (rur::AndroidJpgRead_t *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(rur::AndroidJpgRead_t **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if (arg1) (arg1)->val = *arg2;
}