Public Member Functions | Properties

dotFeedLib.categoryList Class Reference

Contains a list of categories. More...

List of all members.

Public Member Functions

 categoryList ()
 Creates a new,empty categoryList.
void addCategory (string category)
 Adds a new category (if not already existing).
void addCategory (categoryList list)
 Adds all categories that are part of another categoryList (if not already existing).
string[] get_categories ()
 Gets all catgories that are parts of this categoryLsit.
void rename_category (string old, string newName)
 Renames a category; Please be careful this only changes the name of the category for the entry this list belongs to After doing this, feeds that belonged to the same category will be in an new one with the old name If this is not what you would like to happen call dotFeedLib.feed.rename_category(string old,string new_name) instead.
void removeCategory (string name)
 Remove this entry from a category.
bool contains (string category)
 Checks wheter this category is part of this categoryList.
void removeAllCategories ()
 Removes all categories at once.
void changeAllCategories (string[] newCategories)
 Changes all categories at once.

Properties

int Length [get]
 The Length of this category list.

Detailed Description

Contains a list of categories.


Constructor & Destructor Documentation

dotFeedLib.categoryList.categoryList (  ) 

Creates a new,empty categoryList.


Member Function Documentation

void dotFeedLib.categoryList.addCategory ( string  category  ) 

Adds a new category (if not already existing).

Parameters:
category name of the category
void dotFeedLib.categoryList.addCategory ( categoryList  list  ) 

Adds all categories that are part of another categoryList (if not already existing).

Parameters:
list categoryList that should be added
void dotFeedLib.categoryList.changeAllCategories ( string[]  newCategories  ) 

Changes all categories at once.

bool dotFeedLib.categoryList.contains ( string  category  ) 

Checks wheter this category is part of this categoryList.

Parameters:
category category you would like to look for
Returns:
Is category part of this list ?
string [] dotFeedLib.categoryList.get_categories (  ) 

Gets all catgories that are parts of this categoryLsit.

Returns:
String-Array
void dotFeedLib.categoryList.removeAllCategories (  ) 

Removes all categories at once.

void dotFeedLib.categoryList.removeCategory ( string  name  ) 

Remove this entry from a category.

Parameters:
name Name of the category that this feed should be removed from
void dotFeedLib.categoryList.rename_category ( string  old,
string  newName 
)

Renames a category; Please be careful this only changes the name of the category for the entry this list belongs to After doing this, feeds that belonged to the same category will be in an new one with the old name If this is not what you would like to happen call dotFeedLib.feed.rename_category(string old,string new_name) instead.

Parameters:
old Current name of the category
newName New name of the category

Property Documentation

int dotFeedLib.categoryList.Length [get]

The Length of this category list.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Properties