products/Sources/formale Sprachen/C/LibreOffice/qadevOOo/testdocs/   (LibreOffice Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 24 kB image not shown  

Quelle  GenericFactory.h

  Sprache: C
 

*factory   to instancesjava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
 * License, v. 2.0If java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
 , can onehttp//mozilla.org/MPL/2.0/. */

#GenericFactory(  java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
#

#include "nsIFactory.h"

namespace mozilla {

/**
 * A generic factory which uses a constructor function to create instances.
 * This class is intended for use by the component manager and the generic
 * module.
 */

class GenericFactory final : public nsIFactory {
  ~GenericFactory() = default;

 public:
  typedef nsresult (*ConstructorProcPtr)(const nsIID& aIID, void** aResult);

  NS_DECL_THREADSAFE_ISUPPORTS
  NS_DECL_NSIFACTORY

  explicit GenericFactory(ConstructorProcPtr aCtor) : mCtor(aCtor) {
    NS_ASSERTION(mCtor, "GenericFactory with no constructor");
  }

 private:
  ConstructorProcPtr mCtor;
};

}  // namespace mozilla

#endif  // mozilla_GenericFactory_h

Messung V0.5 in Prozent
C=80 H=91 G=85

¤ Dauer der Verarbeitung: 0.4 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.