C# 클래스 Planetarium_Plugin.PlanetariumDB_API

파일 보기 프로젝트 열기: coachlab/Planetarium-PowerPoint-Plugin 1 사용 예제들

공개 메소드들

메소드 설명
addDictionary ( string type, string Slide_URL ) : void

function to add a dictionary to the database

addKeyword ( string dictionary, string phrase, int slide_num ) : void

function that adds a keyword to the specified dictionary

dictionary_exists ( string type ) : bool
getAllDictionaries ( ) : List

function that returns all the dictionary in the database

getAllKeywordsInDictionary ( string type ) : List

function that returns a list of all keywords for the given dictionary

getAllStringKeywordsInDictionary ( string type ) : List

function that return a list of string off all the keywords in the dictionary

getDictionary ( string type ) : Dictionary

function that returns the dictionary specified

getKeyword ( string type, string phrase ) : Keyword

Retrieves a keyword for a particular dictionary from the database

getKeyword ( string type, int slide_id ) : string

Retrieves a keyword for a particular dictionary from the database using its ID

keyword_exists ( string type, int slide_id ) : bool

Checks if a particular phrase is in a particular dictionary using the phrase ID

keyword_exists ( string type, string phrase ) : bool

Checks if a particular phrase is in a particular dictionary

removeDictionary ( string type ) : void

function to remove a dictionary from the database with related slide in the keyword dictionary

removeKeyword ( string phrase, string dictionary ) : void

function that removes a keyword from a dictionary

updateDictionary ( string type, string newType ) : void

function to update the dictionary given the name of the dictionary to update

updateDictionaryURL ( string type, string newSlide_URL ) : void

function to update the dictionary URL

updateKeywordPhrase ( string phrase, string newPhrase, string dictionary ) : void

function to update the phrase for a given keyword in a dictionary

메소드 상세

addDictionary() 공개 메소드

function to add a dictionary to the database
public addDictionary ( string type, string Slide_URL ) : void
type string The name of the dictionary
Slide_URL string Where the Silde is store
리턴 void

addKeyword() 공개 메소드

function that adds a keyword to the specified dictionary
public addKeyword ( string dictionary, string phrase, int slide_num ) : void
dictionary string dictionary to add keyword to
phrase string the phrase to add to the dictionary specified
slide_num int the number of the slide
리턴 void

dictionary_exists() 공개 메소드

public dictionary_exists ( string type ) : bool
type string
리턴 bool

getAllDictionaries() 공개 메소드

function that returns all the dictionary in the database
public getAllDictionaries ( ) : List
리턴 List

getAllKeywordsInDictionary() 공개 메소드

function that returns a list of all keywords for the given dictionary
public getAllKeywordsInDictionary ( string type ) : List
type string name of the dictionary to return keywords
리턴 List

getAllStringKeywordsInDictionary() 공개 메소드

function that return a list of string off all the keywords in the dictionary
public getAllStringKeywordsInDictionary ( string type ) : List
type string name of the dictionary to get keywords from
리턴 List

getDictionary() 공개 메소드

function that returns the dictionary specified
public getDictionary ( string type ) : Dictionary
type string the name of the dictionary to return
리턴 Dictionary

getKeyword() 공개 메소드

Retrieves a keyword for a particular dictionary from the database
public getKeyword ( string type, string phrase ) : Keyword
type string Dictionary name
phrase string Keyword ID
리턴 Keyword

getKeyword() 공개 메소드

Retrieves a keyword for a particular dictionary from the database using its ID
public getKeyword ( string type, int slide_id ) : string
type string Dictionary name
slide_id int Keyword ID
리턴 string

keyword_exists() 공개 메소드

Checks if a particular phrase is in a particular dictionary using the phrase ID
public keyword_exists ( string type, int slide_id ) : bool
type string Dictionary to look into
slide_id int ID of the slide
리턴 bool

keyword_exists() 공개 메소드

Checks if a particular phrase is in a particular dictionary
public keyword_exists ( string type, string phrase ) : bool
type string Dictionary to look into
phrase string phrase to look for
리턴 bool

removeDictionary() 공개 메소드

function to remove a dictionary from the database with related slide in the keyword dictionary
public removeDictionary ( string type ) : void
type string the name of the dictionary to remove
리턴 void

removeKeyword() 공개 메소드

function that removes a keyword from a dictionary
public removeKeyword ( string phrase, string dictionary ) : void
phrase string phrase to remove of the specified dictionary
dictionary string dictionary to remove it to
리턴 void

updateDictionary() 공개 메소드

function to update the dictionary given the name of the dictionary to update
public updateDictionary ( string type, string newType ) : void
type string name of dictionary to update
newType string new name to replace in the dictionary
리턴 void

updateDictionaryURL() 공개 메소드

function to update the dictionary URL
public updateDictionaryURL ( string type, string newSlide_URL ) : void
type string the name of the dictionary to update
newSlide_URL string new slide name to replace in for the dictionary
리턴 void

updateKeywordPhrase() 공개 메소드

function to update the phrase for a given keyword in a dictionary
public updateKeywordPhrase ( string phrase, string newPhrase, string dictionary ) : void
phrase string old phrase to update
newPhrase string new phrase to update to
dictionary string name of dictionary to update
리턴 void