Click here to Skip to main content
15,878,809 members
Articles / Desktop Programming / MFC

Be Sweet - a set of visual source code browsers

Rate me:
Please Sign up or sign in to vote.
4.85/5 (35 votes)
1 Jul 20038 min read 183.5K   4.9K   122  
A set of source code and project browsers to compliment Visual Studio.
//enum Enum { e1, e2};

const static int globalVariable;
namespace NS
{
  float variableInNamespace;
  void functionInNamespace();
}

class Base
{
  void foo();
};

class Child1_1 : public Base
{};

class Child1_2 : public Base
{};

class Child2_1 : public Child1_1, public Child1_2
{};

/*
class AClass
{
public:
  class PublicInnerClass{};
  enum InnerEnum1{ a1,a2} ;
  void publicMethod();

protected:
  class ProtectedInnerClass{};
  void protectedMethod();

private:
  struct PrivateInnerStruct{ void bar(); };
  void privateMethod();
};

void globalFunction();*/

/*
class TestClass
{
  public:
    int publicField;
    static int publicStaticField;
    const int publicConstField;
    static const int publicStaticConstField;

    void publicMethod();
    void publicConstMethod() const;
    static void publicStaticMethod();
    virtual void publicVirtualMethod();
    virtual void publicVirtualConstMethod() const;
    virtual void publicAbstractMethod() = 0;
    virtual void publicAbstractConstMethod() const = 0;

  protected:
    int protectedField;
    static int protectedStaticField;
    const int protectedConstField;
    const static int protectedStaticConstField;
    void protectedMethod();
    void protectedConstMethod() const;
    static void protectedStaticMethod();
    virtual void protectedVirtualMethod();
    virtual void protectedVirtualConstMethod() const;
    virtual void protectedAbstractMethod() = 0;
    virtual void protectedAbstractConstMethod() const = 0;

  private:
    int privateField;
    static int privateStaticField;
    const int privateConstField;
    static const int privateStaticConstField;
    void privateMethod();
    void privateConstMethod() const;
    static void privateStaticMethod();
    virtual void privateVirtualMethod();
    virtual void privateVirtualConstMethod() const;
    virtual void privateAbstractMethod() = 0;
    virtual void privateAbstractConstMethod() const = 0;
};

typedef enum {
            e1, 
            e2 
          } GlobalEnum;

typedef TestClass GobalTypedef;

union GlobalUnion
{
};

struct GlobalStruct
{
};

class OuterClass
{
public:
  typedef TestClass InnerTypedef;
  typedef enum {e1, e2 } InnerEnum;
	class InnerClass
	{
		public:
			class InnerInnerClass
			{
        void innerInnerFunction();
        int innerFunction();
			};

      void innerFunction();
	};

  void foo();

  struct InnerStruct
  {
  };

  union InnerUnion
  {
  };

private:
  class PrivateInnerClass
  {
  };

  void outerFunction();
};

void globalFunction(int);

namespace AnotherNamespace
{
  int globalFunction();
}

inline void globalFunction(int)
{
}

inline void globalInlineFunction(int)
{
}


class TestClass2
{

};

void foo();

class TestClass3
{
  //void aMethod() RAISES(bla);
 // static virtual void aMethod2() RAISES(bla) = 0;
  //bool operator ==();
  bool MethodWithDefaultParam(const std::string s = std::string());
  bool MethodWithDefaultParam(int = 0);
//  int aField;
 // int aSecondField;
};
*/

/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_gretagmacbeth_cxf_Condition */

#ifndef _Included_com_gretagmacbeth_cxf_Condition
#define _Included_com_gretagmacbeth_cxf_Condition
#ifdef __cplusplus
extern "C" {
#endif
/*
 * Class:     com_gretagmacbeth_cxf_Condition
 * Method:    newCondition
 * Signature: ()J
 */
JNIEXPORT jlong JNICALL Java_com_gretagmacbeth_cxf_Condition_newCondition
  (JNIEnv *, jclass);

/*
 * Class:     com_gretagmacbeth_cxf_Condition
 * Method:    getAttributeNames
 * Signature: (J)[Ljava/lang/String;
 */
JNIEXPORT jobjectArray JNICALL Java_com_gretagmacbeth_cxf_Condition_getAttributeNames
  (JNIEnv *, jobject, jlong);

/*
 * Class:     com_gretagmacbeth_cxf_Condition
 * Method:    getAttribute
 * Signature: (JLjava/lang/String;)Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_com_gretagmacbeth_cxf_Condition_getAttribute
  (JNIEnv *, jobject, jlong, jstring);

/*
 * Class:     com_gretagmacbeth_cxf_Condition
 * Method:    setAttribute
 * Signature: (JLjava/lang/String;Ljava/lang/String;)V
 */
JNIEXPORT void JNICALL Java_com_gretagmacbeth_cxf_Condition_setAttribute
  (JNIEnv *, jobject, jlong, jstring, jstring);

#ifdef __cplusplus
}
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Switzerland Switzerland
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions