Python LMF library
 All Classes Namespaces Files Functions Variables
resource.py
Go to the documentation of this file.
1 #! /usr/bin/env python
2 
3 """! @package resources
4 """
5 
6 class Resource():
7  """! Resource is an abstract class representing a material or a human resource. The Resource class allows subclasses.
8  """
9  def __init__(self):
10  """! @brief As Resource is an abstract class, constructor raises an error.
11  """
12  raise NotImplementedError
13 
14  def __del__(self):
15  """! @brief As Resource is an abstract class, desctructor raises an error.
16  """
17  raise NotImplementedError
18 
19  def __call__(self):
20  """! @brief Private initialization called from Resource subclasses.
21  Resource subinstances are owned by LexicalResource.
22  """
23  pass
Resource is an abstract class representing a material or a human resource.
Definition: resource.py:6
def __call__
Private initialization called from Resource subclasses.
Definition: resource.py:19
def __init__
As Resource is an abstract class, constructor raises an error.
Definition: resource.py:9
def __del__
As Resource is an abstract class, desctructor raises an error.
Definition: resource.py:14