Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Attributes
nordugrid.arc.LogFile Class Reference
Inheritance diagram for nordugrid.arc.LogFile:
Inheritance graph
[legend]
Collaboration diagram for nordugrid.arc.LogFile:
Collaboration graph
[legend]

List of all members.

Public Member Functions

synchronized void delete ()
 LogFile (String path)
 LogFile (String path, String locale)
void setMaxSize (int newsize)
void setBackups (int newbackup)
boolean toBool ()
void log (LogMessage message)
void setFormat (LogFormat newformat)

Protected Member Functions

 LogFile (long cPtr, boolean cMemoryOwn)
void finalize ()

Static Protected Member Functions

static long getCPtr (LogFile obj)
static long getCPtr (LogDestination obj)

Protected Attributes

boolean swigCMemOwn

Private Attributes

long swigCPtr

Detailed Description

Definition at line 11 of file LogFile.java.


Constructor & Destructor Documentation

nordugrid.arc.LogFile.LogFile ( long  cPtr,
boolean  cMemoryOwn 
) [inline, protected]

Definition at line 14 of file LogFile.java.

                                                   {
    super(arcJNI.SWIGLogFileUpcast(cPtr), cMemoryOwn);
    swigCPtr = cPtr;
  }

Here is the call graph for this function:

nordugrid.arc.LogFile.LogFile ( String  path) [inline]

Definition at line 32 of file LogFile.java.

                              {
    this(arcJNI.new_LogFile__SWIG_0(path), true);
  }

Here is the call graph for this function:

nordugrid.arc.LogFile.LogFile ( String  path,
String  locale 
) [inline]

Definition at line 36 of file LogFile.java.

                                             {
    this(arcJNI.new_LogFile__SWIG_1(path, locale), true);
  }

Here is the call graph for this function:


Member Function Documentation

synchronized void nordugrid.arc.LogFile.delete ( ) [inline]

Reimplemented from nordugrid.arc.LogDestination.

Definition at line 23 of file LogFile.java.

                                    {
    if(swigCPtr != 0 && swigCMemOwn) {
      swigCMemOwn = false;
      throw new UnsupportedOperationException("C++ destructor does not have public access");
    }
    swigCPtr = 0;
    super.delete();
  }
void nordugrid.arc.LogDestination.finalize ( ) [inline, protected, inherited]

Definition at line 24 of file LogDestination.java.

                            {
    delete();
  }
static long nordugrid.arc.LogFile.getCPtr ( LogFile  obj) [inline, static, protected]

Definition at line 19 of file LogFile.java.

                                             {
    return (obj == null) ? 0 : obj.swigCPtr;
  }
static long nordugrid.arc.LogDestination.getCPtr ( LogDestination  obj) [inline, static, protected, inherited]

Definition at line 20 of file LogDestination.java.

                                                    {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

Here is the caller graph for this function:

void nordugrid.arc.LogFile.log ( LogMessage  message) [inline]

Reimplemented from nordugrid.arc.LogDestination.

Definition at line 52 of file LogFile.java.

                                      {
    arcJNI.LogFile_log(swigCPtr, this, LogMessage.getCPtr(message), message);
  }

Here is the call graph for this function:

void nordugrid.arc.LogFile.setBackups ( int  newbackup) [inline]

Definition at line 44 of file LogFile.java.

                                        {
    arcJNI.LogFile_setBackups(swigCPtr, this, newbackup);
  }

Here is the call graph for this function:

void nordugrid.arc.LogDestination.setFormat ( LogFormat  newformat) [inline, inherited]

Definition at line 40 of file LogDestination.java.

                                             {
    arcJNI.LogDestination_setFormat(swigCPtr, this, newformat.swigValue());
  }

Here is the call graph for this function:

void nordugrid.arc.LogFile.setMaxSize ( int  newsize) [inline]

Definition at line 40 of file LogFile.java.

                                      {
    arcJNI.LogFile_setMaxSize(swigCPtr, this, newsize);
  }

Here is the call graph for this function:

boolean nordugrid.arc.LogFile.toBool ( ) [inline]

Definition at line 48 of file LogFile.java.

                          {
    return arcJNI.LogFile_toBool(swigCPtr, this);
  }

Here is the call graph for this function:


Member Data Documentation

boolean nordugrid.arc.LogDestination.swigCMemOwn [protected, inherited]

Definition at line 13 of file LogDestination.java.

Reimplemented from nordugrid.arc.LogDestination.

Definition at line 12 of file LogFile.java.


The documentation for this class was generated from the following file: